mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	improve #560
This commit is contained in:
		@@ -11,18 +11,18 @@ export default {
 | 
			
		||||
    computed: {
 | 
			
		||||
        color() {
 | 
			
		||||
            if (this.status === 0) {
 | 
			
		||||
                return "danger"
 | 
			
		||||
                return "danger";
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (this.status === 1) {
 | 
			
		||||
                return "primary"
 | 
			
		||||
                return "primary";
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (this.status === 2) {
 | 
			
		||||
                return "warning"
 | 
			
		||||
                return "warning";
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return "secondary"
 | 
			
		||||
            return "secondary";
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        text() {
 | 
			
		||||
@@ -41,11 +41,11 @@ export default {
 | 
			
		||||
            return this.$t("Unknown");
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
}
 | 
			
		||||
};
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style scoped>
 | 
			
		||||
    span {
 | 
			
		||||
        width: 64px;
 | 
			
		||||
        min-width: 64px;
 | 
			
		||||
    }
 | 
			
		||||
</style>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user