From 899b4ed435e17b3f8bef459db83dc751c8c3bd88 Mon Sep 17 00:00:00 2001 From: zhaobing Date: Fri, 14 Jul 2023 18:02:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=BB=BA=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/organization/containers/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/client/src/sections/organization/containers/user.js b/web/client/src/sections/organization/containers/user.js index fde71379..8d8215e2 100644 --- a/web/client/src/sections/organization/containers/user.js +++ b/web/client/src/sections/organization/containers/user.js @@ -269,11 +269,11 @@ const UserManage = (props) => {
{ selectedTree == id ? <> - { + {user?.username === 'SuperAdmin' ? { setDepModalRecord(item) setDepModalVisible(true) setDepModalType('edit') - }} /> + }} /> : null} {user?.username === 'SuperAdmin' ? { delDepartment(id) }} > : ''}