From 6cdbd28f256790e6dceaec4ebeb0cf2747fce0ac Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Mon, 9 Feb 2026 17:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/pages/Container/AppMenu/Menu/index.js | 26 ++++++++++++----------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 83db94e..c7a365a 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", - "zy-react-library": "latest" + "zy-react-library": "^1.1.47" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", diff --git a/src/pages/Container/AppMenu/Menu/index.js b/src/pages/Container/AppMenu/Menu/index.js index 60eae98..2d36976 100644 --- a/src/pages/Container/AppMenu/Menu/index.js +++ b/src/pages/Container/AppMenu/Menu/index.js @@ -123,7 +123,7 @@ function Menu(props) { title: "类型", dataIndex: "menuType", render: (_, record) => ( - {getLabelName({ list: MENU_TYPE_ENUM, status: record.menuType })} + {getLabelName({ list: MENU_TYPE_ENUM, status: record.menuType })} ), }, { @@ -132,17 +132,19 @@ function Menu(props) { fixed: "right", render: (_, record) => ( - + {record.menuType === 1 && ( + + )}