Browse Source

fix(UserImportForm): 🐞 add update formLoading and dialogVisible to submitFormSuccess

AhJindeg 1 year ago
parent
commit
4793897511
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/system/user/UserImportForm.vue

+ 2 - 0
src/views/system/user/UserImportForm.vue

@@ -105,6 +105,8 @@ const submitFormSuccess = (response: any) => {
     text += '< ' + username + ': ' + data.failureUsernames[username] + ' >'
   }
   message.alert(text)
+  formLoading.value = false
+  dialogVisible.value = false
   // 发送操作成功的事件
   emits('success')
 }