@@ -279,6 +279,15 @@
//喇叭选中
trumpetClick(item){
item.type = !item.type;
+ if(item.type==true){
+ this.trumpetList.forEach(function(item2) {
+ if(item2.name==item.name){
+ item2.type=true
+ }else{
+ item2.type=false
+ }
+ })
},
//获取喇叭列表
getDeviceList(){
@@ -281,6 +281,15 @@
@@ -161,6 +161,15 @@
//喇叭选择
bottomButtonClick(item){
item.type = !item.type
//处理报警记录
handle(){