heyang 1 年之前
父节点
当前提交
4bfb6b2454
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      pages_manage/workbench/laboratory/laboratoryInfo.vue

+ 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) {