Browse Source

修改报警主机详情页面

xujie 1 year ago
parent
commit
ae966ff67a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/iot/deviceInfo/detailDialog.vue

+ 2 - 2
src/views/iot/deviceInfo/detailDialog.vue

@@ -168,9 +168,9 @@ export default {
       }
       }
     },
     },
     getSubSystemStatusDesc(val){
     getSubSystemStatusDesc(val){
-      if (val === '0'){
+      if (val === 0){
         return "撤防";
         return "撤防";
-      }else if(val === '1'){
+      }else if(val === 1){
         return "布防";
         return "布防";
       }else {
       }else {
         return "未知";
         return "未知";