From ff72b7ebae6f236327a969b50395644d78eae0a7 Mon Sep 17 00:00:00 2001 From: lipeng Date: Sun, 25 Jun 2023 13:46:43 +0800 Subject: [PATCH] modify path --- src/components/bg-menu.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/bg-menu.vue b/src/components/bg-menu.vue index 26a54ca..2767f57 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, -- 2.26.0