wyh 1 year ago
parent
commit
6512d303e6
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/modules_guAn/visualization/modules/EquipmentInfo.vue

+ 5 - 1
src/views/modules_guAn/visualization/modules/EquipmentInfo.vue

@@ -162,7 +162,11 @@ export default {
       handler(newValue, oldValue){
         this.alarm = newValue
         // console.log(7788,this.alarm)
-        this.getList()
+        if (this.alarm.length == 0) {
+          this.information = '暂无数据'
+        }else{
+          this.getList()
+        }
       },
       immediate: true,
       deep: true