This commit is contained in:
daihh
2022-12-05 15:33:02 +08:00
parent 55bf2862ab
commit 482cf5be66

View File

@@ -29,7 +29,7 @@
// #ifdef H5
console.log('this.$config.loginPath',this.$config.loginPath);
if(this.$config.loginPath.startsWith('http')){
let returnUrl=window.location.protocol+'//'+window.location.host+"/"+this.$config.context;
let returnUrl=window.location.protocol+'//'+window.location.host+this.$config.context;
location.href=this.$config.loginPath+"?returnUrl="+encodeURIComponent(returnUrl+'/pages/login/loading');
}else{
location.href=this.$config.loginPath;