heyang 2 년 전
부모
커밋
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) {