diff --git a/.beagle.yml b/.beagle.yml index dadd6aacf723e44703db03739a42313bbe8d3b92..f626c295e2ca2ea57f39e413b2b2c87ade694451 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -56,7 +56,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 - name: docker-sock path: /var/run/docker.sock # 将下载依赖的目录挂载出来,防止重复下载 settings: # 当前设置 - base: registry.cn-qingdao.aliyuncs.com/wod/nginx:1.19.5-amd64 # 基础镜像 + base: registry.cn-qingdao.aliyuncs.com/wod/nginx:1.19.5-amd64 # 基础镜像 dockerfile: .beagle/dockerfile repo: smart-operation/so-manage-ui # 生成镜像的 分组/名称 version: "v3.0.1" # 版本号 diff --git a/src/App.vue b/src/App.vue index e910d63cf39f5d986083aa8e1884592c13fd4d1a..471e31170b61b57fb315f7ec4a9d0fca4479b666 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,10 +5,10 @@
@@ -86,7 +86,7 @@ export default { }, nowParent() { if (this.pageShow && this.$store.state.userInfo) { - return this.rowPath ? this.navMenu[this.rowPath.slice(1, 2)] : ""; + return this.rowPath ? [this.navMenu[this.rowPath.slice(1, 2)]] : ""; } else { return ""; } 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, diff --git a/src/components/warn-detail/tab.vue b/src/components/warn-detail/tab.vue index 069ab3ffb9fbba1d75c64c060ab6d36d33853277..1615ab4211a7f6d24a1b214e0792278349a4e7e5 100644 --- a/src/components/warn-detail/tab.vue +++ b/src/components/warn-detail/tab.vue @@ -14,7 +14,7 @@