Explorar o código

perf(系统模块): 优化用户创建账户提示

shizhongming %!s(int64=2) %!d(string=hai) anos
pai
achega
f9acc691dd
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/modules/smart-system/views/user/UserListView.vue

+ 5 - 1
src/modules/smart-system/views/user/UserListView.vue

@@ -267,7 +267,11 @@
     createConfirm({
       iconType: 'warning',
       title: t('system.views.user.validate.createAccountConfirm'),
-      onOk: () => createAccountApi(userList),
+      onOk: async () => {
+        await createAccountApi(userList);
+        successMessage(t('common.message.OperationSucceeded'));
+        query();
+      },
     });
   };