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(`请先上传图片!`, `提示`, {