From 843c1f9be804a96c0d7fb46f42faadc6c8b71d54 Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期二, 23 七月 2024 10:06:22 +0800 Subject: [PATCH] 装备-原材料下单前端页面 --- src/view/index.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/view/index.vue b/src/view/index.vue index 04edcb4..38dc5a4 100644 --- a/src/view/index.vue +++ b/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; -- Gitblit v1.9.3