添加loading

master
fanluyan 2 years ago
parent c088e7b2ef
commit 90cd760484

@ -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%;

Loading…
Cancel
Save