fix: 导入后重新获取数据
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user