From bb0960069157aa11868277c9038a30641b34e8d6 Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Thu, 5 May 2022 18:43:54 +0800 Subject: [PATCH] encodeURIComponent --- src/components/menu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/menu.vue b/src/components/menu.vue index 7b915b4..d01d97a 100644 --- a/src/components/menu.vue +++ b/src/components/menu.vue @@ -255,7 +255,7 @@ export default { } } else if (n == "login") { let path = this.$route.path; - window.location.href = "/iam/login/#/login?ReturnUrl=" + window.location.href; + window.location.href = "/iam/login/#/login?ReturnUrl=" + encodeURIComponent(window.location.href); } else { this.$router.push(n); } -- 2.26.0