wyh il y a 1 an
Parent
commit
6512d303e6

+ 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