fix: 一些基本功能

This commit is contained in:
2025-03-06 19:12:26 +08:00
parent 024f641a41
commit 638462295d
23 changed files with 134 additions and 1182 deletions

View File

@@ -55,12 +55,12 @@ export const useAuthStore = defineStore('auth', () => {
} else {
onSuccess
? await onSuccess?.()
: await router.push(userInfo.homePath || DEFAULT_HOME_PATH);
: await router.push(userInfo.home_path || DEFAULT_HOME_PATH);
}
if (userInfo?.realName) {
if (userInfo?.nick_name) {
notification.success({
description: `${$t('authentication.loginSuccessDesc')}:${userInfo?.realName}`,
description: `${$t('authentication.loginSuccessDesc')}:${userInfo?.nick_name}`,
duration: 3,
message: $t('authentication.loginSuccess'),
});