Browse Source

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

AhJindeg 1 năm trước cách đây
mục cha
commit
4793897511
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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')
 }