|
@ -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" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|