From b1c03952401ae7acb2e33b5d028a685b186a609a Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Tue, 17 Jan 2023 18:00:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E9=83=A8=E9=97=A8=E6=88=90=E5=91=98?= =?UTF-8?q?=E7=99=BD=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/organization/containers/user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/client/src/sections/organization/containers/user.js b/web/client/src/sections/organization/containers/user.js index 9c3eeec..10f59b1 100644 --- a/web/client/src/sections/organization/containers/user.js +++ b/web/client/src/sections/organization/containers/user.js @@ -9,9 +9,10 @@ import ResetPwd from '../components/resetPwd'; import DeptModal from '../components/deptModal'; const TreeNode = Tree.TreeNode; -const user = JSON.parse(sessionStorage.getItem('user')); const UserManage = (props) => { + const user = JSON.parse(sessionStorage.getItem('user')); + const { dispatch, loading, depMessage, depUser, clientHeight } = props; // 部门 const [deptModalVisible, setDeptModalVisible] = useState(false);