From 482cf5be668d7af835c9a6b990914f0d40a632b5 Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 5 Dec 2022 15:33:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/loading.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;