Преглед на файлове

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

AhJindeg преди 1 година
родител
ревизия
4793897511
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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')
 }