Commit 69f2de44 authored by 刘殿昕's avatar 刘殿昕

登出路由

parent d2655297
......@@ -171,8 +171,8 @@ export default {
methods: {
gotopage(n) {
if (n == "logout") {
window.location.href =
"/iam/api/logout?ReturnUrl=/apaas/ui/#" + this.$route.path;
let path = this.$route.path;
window.location.href = "/iam/api/logout?ReturnUrl=" + path;
} else {
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