Browse Source

feat: support new device alarm type whose value is 2

Casper Dai 3 years ago
parent
commit
6f7937a096
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/device/detail/components/DeviceAlarm.vue

+ 1 - 1
src/views/device/detail/components/DeviceAlarm.vue

@@ -127,7 +127,7 @@ export default {
       return {
         picUrl: pic && picUrl ? getThumbnailUrl(picUrl) : null,
         keyName: picUrl,
-        type: ['疑似黑屏', '设备离线'][type],
+        type: ['疑似黑屏', '设备离线', '屏幕拓扑结构异常'][type],
         handle: ['应用重启', '设备重启', '恢复出厂', '未干预'][handle],
         status: ['primary', 'success', 'danger', 'primary'][status],
         statusTip: ['处理中', '成功', '失败', '无'][status],