Commit bb096006 authored by 张俊's avatar 张俊

encodeURIComponent

parent b4bfe287
Pipeline #75516 passed with stage
...@@ -255,7 +255,7 @@ export default { ...@@ -255,7 +255,7 @@ export default {
} }
} else if (n == "login") { } else if (n == "login") {
let path = this.$route.path; 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 { } else {
this.$router.push(n); this.$router.push(n);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment