From f5e0e921c8d0cf60b1967e404ac1e196601dd2ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=91=9E?= Date: Fri, 5 Jul 2024 10:41:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=8A=82=E7=82=B9=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newVersionView/Workbench/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/newVersionView/Workbench/index.vue b/src/views/newVersionView/Workbench/index.vue index 3ec24bf..78757c1 100644 --- a/src/views/newVersionView/Workbench/index.vue +++ b/src/views/newVersionView/Workbench/index.vue @@ -13,7 +13,7 @@ v-for="(list, listIndex) in item.children" class="menuBox" @click="goRoute(item, list)" - v-if="!item.meta.hidden" + v-if="!list.meta.hidden" > Date: Fri, 5 Jul 2024 10:43:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=8A=82=E7=82=B9=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newVersionView/Workbench/index.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/views/newVersionView/Workbench/index.vue b/src/views/newVersionView/Workbench/index.vue index 78757c1..2ff2501 100644 --- a/src/views/newVersionView/Workbench/index.vue +++ b/src/views/newVersionView/Workbench/index.vue @@ -52,9 +52,7 @@ export default { let routeList = localStorage.getItem("routeList") ? JSON.parse(localStorage.getItem("routeList")) : []; - console.log(routeList) this.routeData = this.OrganizeMenus(routeList); - console.log(this.routeData,"routeData") }, methods: { goRoute(val, item) {