|
@@ -8,6 +8,7 @@
|
|
>
|
|
>
|
|
<div class="demo-drawer__content" style="padding: 0 20px">
|
|
<div class="demo-drawer__content" style="padding: 0 20px">
|
|
<el-form
|
|
<el-form
|
|
|
|
+ v-loading="loading"
|
|
ref="formRef"
|
|
ref="formRef"
|
|
:model="form"
|
|
:model="form"
|
|
label-position="left"
|
|
label-position="left"
|
|
@@ -131,13 +132,13 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.$message.error("导入失败" || res.msg);
|
|
this.$message.error("导入失败" || res.msg);
|
|
}
|
|
}
|
|
|
|
+ this.loading = false;
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
console.log(err);
|
|
console.log(err);
|
|
this.$refs.upload.clearFiles();
|
|
this.$refs.upload.clearFiles();
|
|
this.fileList = [];
|
|
this.fileList = [];
|
|
});
|
|
});
|
|
- this.loading = false;
|
|
|
|
},
|
|
},
|
|
handleClose(done) {
|
|
handleClose(done) {
|
|
if (this.loading) {
|
|
if (this.loading) {
|