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: {},