diff --git a/pages/login/loading.vue b/pages/login/loading.vue index afd5cfa..af404dd 100644 --- a/pages/login/loading.vue +++ b/pages/login/loading.vue @@ -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;