提交格式验证修改

This commit is contained in:
2026-08-13 13:34:14 +08:00
parent 3e5157909c
commit 181b8902e1
27 changed files with 220 additions and 579 deletions
+2 -3
View File
@@ -6,7 +6,6 @@ import { fetchGetUserInfo, fetchLogin } from '@/service/api';
import { useRouterPush } from '@/hooks/common/router';
import { localStg } from '@/utils/storage';
import { SetupStoreId } from '@/enum';
import { $t } from '@/locales';
import { useRouteStore } from '../route';
import { useTabStore } from '../tab';
import { clearAuthStorage, getToken } from './shared';
@@ -116,8 +115,8 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
await redirectFromLogin(needRedirect);
window.$notification?.success({
title: $t('page.login.common.loginSuccess'),
content: $t('page.login.common.welcomeBack', { userName: userInfo.userName }),
title: '登录成功',
content: `欢迎回来,${userInfo.userName} !`,
duration: 4500
});
}