两次编码url

This commit is contained in:
daihh
2023-03-02 10:47:30 +08:00
parent b874ef5307
commit b72df146b9
2 changed files with 4 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ export function toLogin(ajaxUrl) {
if(process.env.NODE_ENV === 'development'){
location.href=config.loginPath+"?returnUrl="+encodeURIComponent(returnPage);
}else{
location.href=config.loginPath+"?returnUrl="+encodeURIComponent(urlPre+urlContext+'/pages/login/loading?returnUrl='+returnPage);
location.href=config.loginPath+"?returnUrl="+encodeURIComponent(urlPre+urlContext+'/pages/login/loading?returnUrl='+encodeURIComponent(returnPage));
}
//location.href=config.loginPath
}