From b8e1395f02c929eaa96b949cf6027ee2a43856a6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 06 九月 2022 19:03:37 +0800 Subject: [PATCH] 2022-09-06 --- src/tabviews/zshare/actionList/tabbutton/index.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tabviews/zshare/actionList/tabbutton/index.jsx b/src/tabviews/zshare/actionList/tabbutton/index.jsx index f3cd9cf..8a350a5 100644 --- a/src/tabviews/zshare/actionList/tabbutton/index.jsx +++ b/src/tabviews/zshare/actionList/tabbutton/index.jsx @@ -157,11 +157,12 @@ let menu = null if (btn.MenuID) { + let _menu = this.props.permMenus.filter(m => m.MenuID === btn.MenuID)[0] || '' menu = { MenuID: btn.MenuID, - MenuName: btn.MenuName, + MenuName: _menu ? _menu.MenuName : btn.MenuName, MenuNo: btn.MenuNo, - type: btn.tabType + type: _menu ? _menu.type : btn.tabType } } else if (btn.linkmenu && btn.linkmenu.length > 0) { let menu_id = btn.linkmenu.slice(-1)[0] -- Gitblit v1.8.0