From 1797d4127ced89347b3eb6b6a4d4eccf9fea4bb5 Mon Sep 17 00:00:00 2001 From: lingting Date: Wed, 20 Oct 2021 19:42:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(Ballcat):=20=E4=BC=98=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/system/menu/SysMenuPage.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/system/menu/SysMenuPage.tsx b/src/pages/system/menu/SysMenuPage.tsx index 28c9b16..b5be5bc 100644 --- a/src/pages/system/menu/SysMenuPage.tsx +++ b/src/pages/system/menu/SysMenuPage.tsx @@ -78,10 +78,9 @@ export default () => { render: (dom, record) => { return ( <> - {record.i18nTitle} - {isBtn(record) ? ( - '' - ) : ( + {record.icon && } + {record.i18nTitle} + {isBtn(record) && ( editI18n(record.title)}