mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-01 03:49:24 +08:00 
			
		
		
		
	Missing this part 2
This commit is contained in:
		| @@ -12,9 +12,13 @@ export default { | |||||||
|         color() { |         color() { | ||||||
|             if (this.status === 0) { |             if (this.status === 0) { | ||||||
|                 return "danger" |                 return "danger" | ||||||
|             } if (this.status === 1) { |             } | ||||||
|  |  | ||||||
|  |             if (this.status === 1) { | ||||||
|                 return "primary" |                 return "primary" | ||||||
|             } if (this.status === 2) { |             } | ||||||
|  |  | ||||||
|  |             if (this.status === 2) { | ||||||
|                 return "warning" |                 return "warning" | ||||||
|             } |             } | ||||||
|  |  | ||||||
| @@ -24,9 +28,13 @@ export default { | |||||||
|         text() { |         text() { | ||||||
|             if (this.status === 0) { |             if (this.status === 0) { | ||||||
|                 return "Down" |                 return "Down" | ||||||
|             } if (this.status === 1) { |             } | ||||||
|  |  | ||||||
|  |             if (this.status === 1) { | ||||||
|                 return "Up" |                 return "Up" | ||||||
|             } if (this.status === 2) { |             } | ||||||
|  |  | ||||||
|  |             if (this.status === 2) { | ||||||
|                 return "Pending" |                 return "Pending" | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -28,9 +28,13 @@ export default { | |||||||
|         color() { |         color() { | ||||||
|             if (this.lastHeartBeat.status === 0) { |             if (this.lastHeartBeat.status === 0) { | ||||||
|                 return "danger" |                 return "danger" | ||||||
|             } if (this.lastHeartBeat.status === 1) { |             } | ||||||
|  |  | ||||||
|  |             if (this.lastHeartBeat.status === 1) { | ||||||
|                 return "primary" |                 return "primary" | ||||||
|             } if (this.lastHeartBeat.status === 2) { |             } | ||||||
|  |  | ||||||
|  |             if (this.lastHeartBeat.status === 2) { | ||||||
|                 return "warning" |                 return "warning" | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user