Explorar o código

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

AhJindeg hai 1 ano
pai
achega
4793897511
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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')
 }