src/view/index.vue
@@ -435,6 +435,15 @@ }, created() { this.menu = menus.menu if (this.PROJECT !== '装备电缆') { // 检测中心暂无'原材料检验下单'功能 const index = this.menu.findIndex(item => item.v === '业务管理') if (index > -1) { const index2 = this.menu[index].c.findIndex(obj => obj.v === '原材料检验下单') if (index2 > -1) { this.menu[index].c.splice(index2, 1) } } } }, mounted() { this.userName = JSON.parse(localStorage.getItem("user")).name;