|
@@ -982,9 +982,14 @@
|
|
channelCode.push(res.data[i].channelCode);
|
|
channelCode.push(res.data[i].channelCode);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- //this.preview("ZgVzqsjwA1DT3G85KJ7HH0");
|
|
|
|
- this.preview(channelCode);
|
|
|
|
|
|
+ if(channelCode!=null&&channelCode.length>0){
|
|
|
|
+ this.preview(channelCode);
|
|
|
|
+ }else{
|
|
|
|
+ this.$modal.msg("没有匹配到相对应摄像头!!!");
|
|
|
|
+ }
|
|
})
|
|
})
|
|
|
|
+ }else{
|
|
|
|
+ this.$modal.msg("没有匹配到相对应摄像头!!!");
|
|
}
|
|
}
|
|
} else if (tab.name == 'point') {
|
|
} else if (tab.name == 'point') {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
@@ -1069,9 +1074,14 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//this.preview("ZgVzqsjwA1DT3G85KJ7HH0");
|
|
//this.preview("ZgVzqsjwA1DT3G85KJ7HH0");
|
|
- this.preview(channelCode);
|
|
|
|
|
|
+ if(channelCode!=null&&channelCode.length>0){
|
|
|
|
+ this.preview(channelCode);
|
|
|
|
+ }else{
|
|
|
|
+ this.$modal.msg("没有匹配到相对应摄像头!!!");
|
|
|
|
+ }
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+ }else{
|
|
|
|
+ this.$modal.msg("没有匹配到相对应摄像头!!!");
|
|
}
|
|
}
|
|
} else if (tab.name == 'point') {
|
|
} else if (tab.name == 'point') {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|