From 3649b9a5d115a0c0c25a7fffa3dbd65c1ea82f5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com>
Date: Sat, 2 Dec 2023 22:33:01 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E6=8F=92=E4=BB=B6=E7=9A=84=E8=8F=9C?=
=?UTF-8?q?=E5=8D=95=E5=8A=A0=E7=B2=97=E6=94=B9=E4=B8=BA=E4=B8=8D=E5=8A=A0?=
=?UTF-8?q?=E7=B2=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jshERP-web/src/components/menu/index.js | 27 ++++++++-----------------
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/jshERP-web/src/components/menu/index.js b/jshERP-web/src/components/menu/index.js
index ddac7910..71cc3e8f 100644
--- a/jshERP-web/src/components/menu/index.js
+++ b/jshERP-web/src/components/menu/index.js
@@ -120,25 +120,14 @@ export default {
item.meta = Object.assign(item.meta, { hidden: true })
})
}
- if(menu.component==='/layouts/IframePageView') {
- return (
- -
-
- {this.renderIcon(menu.icon)}
- {menu.text}
-
-
- )
- } else {
- return (
- -
-
- {this.renderIcon(menu.icon)}
- {menu.text}
-
-
- )
- }
+ return (
+ -
+
+ {this.renderIcon(menu.icon)}
+ {menu.text}
+
+
+ )
},
renderSubMenu (menu) {
const itemArr = []