From cad8e02bbe4f28e8a6803fdae0f7692463d63047 Mon Sep 17 00:00:00 2001 From: dengchao <754083046@qq.com> Date: Fri, 25 Feb 2022 15:45:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=8B=96=E6=8B=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/userCenter/roleManage/RoleManage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/userCenter/roleManage/RoleManage.jsx b/src/pages/userCenter/roleManage/RoleManage.jsx index 341956cc..e17fbb21 100644 --- a/src/pages/userCenter/roleManage/RoleManage.jsx +++ b/src/pages/userCenter/roleManage/RoleManage.jsx @@ -637,7 +637,7 @@ const SiteManage = () => { console.log('22222222222'); // 鎻掑叆鍒扮涓€涓瓙鑺傜偣 // 瀛愯彍鍗曚笉鑳芥嫋鎷藉埌浜岀骇鑿滃崟缁勪笂鏂� - if (dropObj.roleList[0].groupflag) { + if (dropObj.roleList[0] && dropObj.roleList[0].groupflag) { return; } console.log(dropObj, '33333333333'); -- 2.17.1