Browse Source

fix 部门成员白屏

master
liujiangyong 2 years ago
parent
commit
b1c0395240
  1. 3
      web/client/src/sections/organization/containers/user.js

3
web/client/src/sections/organization/containers/user.js

@ -9,9 +9,10 @@ import ResetPwd from '../components/resetPwd';
import DeptModal from '../components/deptModal'; import DeptModal from '../components/deptModal';
const TreeNode = Tree.TreeNode; const TreeNode = Tree.TreeNode;
const user = JSON.parse(sessionStorage.getItem('user'));
const UserManage = (props) => { const UserManage = (props) => {
const user = JSON.parse(sessionStorage.getItem('user'));
const { dispatch, loading, depMessage, depUser, clientHeight } = props; const { dispatch, loading, depMessage, depUser, clientHeight } = props;
// 部门 // 部门
const [deptModalVisible, setDeptModalVisible] = useState(false); const [deptModalVisible, setDeptModalVisible] = useState(false);

Loading…
Cancel
Save