From 02099d5d370bac91862239d5b8ac3fe791d16541 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Wed, 21 Sep 2022 15:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E6=9D=83=E9=99=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/regulatoryRepository/nonConfomity/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/regulatoryRepository/nonConfomity/index.vue b/src/pages/regulatoryRepository/nonConfomity/index.vue index 86fa0ac08..7f70d6a26 100644 --- a/src/pages/regulatoryRepository/nonConfomity/index.vue +++ b/src/pages/regulatoryRepository/nonConfomity/index.vue @@ -52,10 +52,10 @@ const menuList = this.$store.getters.getMenuList; let menuData = []; let menuID = ["ff7bc984c8115204bba04090f350b19c", "e02897e9ab6b1a72f49c47c07b5be9a5"]; - this.menuName.forEach(item => { + // this.menuName.forEach(item => { for (let i = 0; i < menuList.length; i++) { let entity = menuList[i]; - if (item !== entity.menuName) continue; + // if (item !== entity.menuName) continue; if (menuID.indexOf(entity.id) >= 0 && menuData.indexOf(entity.id) === -1) { menuData.push(entity.id); if (entity.id === "ff7bc984c8115204bba04090f350b19c") { @@ -64,8 +64,8 @@ this.keynote = true } } - } - }); + }; + // }); this.tabValue = this.database ? 'database' : (this.keynote ? 'keynote' : (this.tracking ? 'listTracking' : (this.other ? 'listOther' : (this.library ? 'localProductsOrProjectLibrary' : '')))) }, watch: {},