Commit ff72b7eb authored by 李鹏 's avatar 李鹏

modify path

parent aa58d260
...@@ -151,8 +151,7 @@ export default { ...@@ -151,8 +151,7 @@ export default {
}, },
transparentBg() { transparentBg() {
return ( return (
this.documentScrollTop < 180 && this.documentScrollTop < 180 && (this.$route.name === "shopRecommend" || this.$route.name === "shopSearch")
(this.$route.name === "shopRecommend" || this.$route.name === "shopSearch")
); );
}, },
isFront() { isFront() {
...@@ -236,7 +235,7 @@ export default { ...@@ -236,7 +235,7 @@ export default {
if (n == "logout") { if (n == "logout") {
this.$axios.post("/apaas/system/v5/user/logout").then((res) => { this.$axios.post("/apaas/system/v5/user/logout").then((res) => {
if (res.data.code == "200") { if (res.data.code == "200") {
window.location.href = "/apaas/manage/ui/#/login"; window.location.href = "/so/manage/ui//#/login";
this.$store.commit("setUserInfo", null); this.$store.commit("setUserInfo", null);
clearCookie("bgToken"); clearCookie("bgToken");
this.$message.success("退出成功"); this.$message.success("退出成功");
...@@ -247,7 +246,7 @@ export default { ...@@ -247,7 +246,7 @@ export default {
}); });
} else if (n == "login") { } else if (n == "login") {
let path = this.$route.path; let path = this.$route.path;
window.location.href = `/apaas/manage/ui/#/login?redirect=${path}`; window.location.href = `/so/manage/ui//#/login?redirect=${path}`;
} else { } else {
//是否有子路由,有则寻找子路由的第一个进行跳转,无则直接进行跳转 //是否有子路由,有则寻找子路由的第一个进行跳转,无则直接进行跳转
//使用childMenuAction是模拟template中,子路径点击跳转使用childMenuAction, //使用childMenuAction是模拟template中,子路径点击跳转使用childMenuAction,
......
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