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