mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-08 11:21:27 +08:00
refactor: 登录超时的i18n
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user