|
|
@@ -149,6 +149,7 @@
|
|
|
:http-request="uploadFile"
|
|
|
:before-upload="beforeUpload"
|
|
|
:on-change="handleChange"
|
|
|
+ ref="uploadFile"
|
|
|
>
|
|
|
<el-button type="warning">批量导入</el-button>
|
|
|
</el-upload>
|
|
|
@@ -349,6 +350,7 @@
|
|
|
});
|
|
|
importFile(fd).then((res) => {
|
|
|
this.$emit('search', this.where);
|
|
|
+ this.$refs.uploadFile.clearFiles()
|
|
|
});
|
|
|
}
|
|
|
}
|