From 90cd760484ebdbe5110abad32a0d63139eef1320 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Thu, 15 Jun 2023 17:33:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/realTimeMonitor/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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%;