diff --git a/src/views/realTimeMonitor/index.vue b/src/views/realTimeMonitor/index.vue index d9ff9f4..c99658c 100644 --- a/src/views/realTimeMonitor/index.vue +++ b/src/views/realTimeMonitor/index.vue @@ -581,7 +581,7 @@ export default { console.log(res); if (res.data.isonline) { this.btnpicloading = true; - this.loadingpic = true; + getLatestPhotoJoggle({ captureType: 0, channel: command, @@ -596,6 +596,7 @@ export default { message: "手动拍照请求成功!", type: "success", }); + this.loadingpic = true; console.log(res); this.newPicData = res.data; console.log(this.newPicData); @@ -629,7 +630,6 @@ export default { console.log(res); if (res.data.isonline) { this.btnvideoloading = true; - this.loadingpic = true; getLatestPhotoJoggle({ captureType: 1, channel: command, @@ -644,6 +644,7 @@ export default { message: "手动拍视频请求成功!", type: "success", }); + this.loadingpic = true; console.log(res); this.newPicData = res.data; console.log(this.newPicData); @@ -813,6 +814,9 @@ export default { overflow: hidden; display: flex; flex-direction: column; + .el-loading-mask { + background-color: rgba(255, 255, 255, 0.6) !important; + } } .totalPic { width: 100%;