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