feat: 单点登录
This commit is contained in:
@ -33,7 +33,7 @@ export function createPermissionGuard(router: Router) {
|
||||
|
||||
// Whitelist can be directly entered
|
||||
if (whitePathList.includes(to.path as PageEnum)) {
|
||||
if (to.path === LOGIN_PATH && token) {
|
||||
if (to.path === LOGIN_PATH && token && !to.query?.ltpasToken) {
|
||||
const isSessionTimeout = userStore.getSessionTimeout;
|
||||
try {
|
||||
await userStore.afterLoginAction();
|
||||
|
||||
Reference in New Issue
Block a user