Commit dad115a6 authored by 刘殿昕's avatar 刘殿昕

修改连接

parent e9f5f54a
......@@ -171,19 +171,8 @@ export default {
methods: {
gotopage(n) {
if (n == "logout") {
let query = {
returnUrl: "/apaas/ui/#" + this.$route.path
};
this.$api.general.logout(query).then(response => {
if (response.data.success == 1) {
this.$message({
message: `登出成功`,
type: "success"
});
} else {
console.log(response.data.errMsg);
}
});
window.location.href =
"/iam/api/logout?ReturnUrl=/apaas/ui/#" + this.$route.path;
} else {
this.$router.push(n);
}
......@@ -235,7 +224,7 @@ export default {
},
getMenuIndex() {
let index = window.sessionStorage.getItem("menuIndex");
console.log(index)
console.log(index);
this.now_menu = index ? index : 2;
}
}
......
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