refactor: 登录超时的i18n

This commit is contained in:
dap
2025-01-17 21:18:44 +08:00
parent 087b9126b2
commit 261be4a3a6
3 changed files with 5 additions and 3 deletions

View File

@@ -226,7 +226,7 @@ function createRequestClient(baseURL: string) {
return;
}
isLogoutProcessing = true;
const _msg = '登录超时, 请重新登录';
const _msg = $t('http.loginTimeout');
const userStore = useAuthStore();
userStore.logout().finally(() => {
message.error(_msg);