初始路由跳转调整

This commit is contained in:
fan 2019-12-31 09:12:40 +08:00
parent f8c7a46743
commit efdd241d2c

View File

@ -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();