fix: 导入后重新获取数据

This commit is contained in:
zyn
2023-11-23 09:32:49 +08:00
parent 739b67cf9b
commit d0a1198be2
4 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -86,12 +86,11 @@ export default {
importFileSuccess(response, file) {
if (response.ok) {
this.$emit('update:visible', false)
// this.visible = false
this.$emit('onSuccess')
this.$message({
message: response.message,
message: response.message || response.data,
type: 'success'
})
this.getData()
} else {
this.importFailed = true
this.importForm.content = response.message