From f76f756ba63a48c311549b44048cdd5712b46d0b Mon Sep 17 00:00:00 2001 From: wanglei Date: Fri, 24 May 2024 13:39:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E6=89=AB=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/views/dangan/collection/index.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 65cb249..db06e75 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -64,7 +64,7 @@ -
+
物理书架:
-
+
物理书架:
{ this.pictureRecard = response.data; this.smwj.open = false; + this.smwj.loading = false; + }).catch(err=>{ + this.smwj.loading = false; }); }else { this.$alert(`请先开始扫描!`, `提示`, { @@ -435,9 +441,13 @@ export default { formData.append('picRecard', new Blob([JSON.stringify(DaPicturesRecard)],{ type: 'application/json', })); + this.upload.loading = true; collectSaves(formData).then(response => { this.pictureRecard = response.data; this.upload.open = false; + this.upload.loading = false; + }).catch(err=>{ + this.upload.loading = false; }); }else { this.$alert(`请先上传图片!`, `提示`, {