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