mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
提交
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user