初始路由跳转调整
This commit is contained in:
parent
f8c7a46743
commit
efdd241d2c
@ -53,7 +53,7 @@ function getRouteInfo(to) {
|
||||
loginPath = loginDesignGzbPage;
|
||||
clientId = LoginParams.Design.clientId;
|
||||
} else if (isDesignPage(toRoutePath)) {
|
||||
loginPath = loginDesignPageMenu[current_session];
|
||||
loginPath = loginDesignPageMenu[current_session] || loginDesignPage;
|
||||
clientId = LoginParams.Design.clientId;
|
||||
if (current_session && !current_session.startsWith('design')) {
|
||||
removeToken();
|
||||
@ -65,7 +65,7 @@ function getRouteInfo(to) {
|
||||
loginPath = loginGzbPage;
|
||||
clientId = null;
|
||||
} else {
|
||||
loginPath = loginPageMenu[current_session];
|
||||
loginPath = loginPageMenu[current_session] || loginPath;
|
||||
clientId = null;
|
||||
if (current_session && current_session.startsWith('design')) {
|
||||
removeToken();
|
||||
|
Loading…
Reference in New Issue
Block a user