From ad8d75beaf30a9c21d68699ecc1d5effe0048582 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 20 Aug 2024 17:37:40 +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 --- src/page/Home/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/page/Home/index.tsx b/src/page/Home/index.tsx index 7154ea8..b53188b 100644 --- a/src/page/Home/index.tsx +++ b/src/page/Home/index.tsx @@ -38,7 +38,7 @@ const Home: React.FC = () => { iconActive: ImageUrl.icon13Active, isHover: false, isActive: false, - isShow: user.roleId === '1' ? true : false, + isShow: user?.roleId === '1' ? true : false, path: '/home/user' }, ]);