heyang 1 ano atrás
pai
commit
4bfb6b2454

+ 6 - 1
pages_manage/workbench/laboratory/laboratoryInfo.vue

@@ -315,7 +315,10 @@ export default {
     }
 	this.firedeviceStatus();
 	this.getListData();
-	this.getDeviceListBySub();
+	if(this.itemData.subAddrr.floorId){
+		this.getDeviceListBySub();
+	}
+	
 
   },
   onShow(){
@@ -881,6 +884,8 @@ export default {
 	        }
 	        this.$set(this, 'trumpetList', data.data)
 	      }
+		  
+		  
 	    },
 	//点击选择喇叭
 	    trumpetClick(index) {