|
@ -59,7 +59,8 @@ const Authority = (props) => { |
|
|
{ |
|
|
{ |
|
|
depMessage.length ? |
|
|
depMessage.length ? |
|
|
<Tree |
|
|
<Tree |
|
|
height={clientHeight - 100} |
|
|
style={{ width: 272 }} |
|
|
|
|
|
height={195} |
|
|
defaultExpandedKeys={[depMessage[0].id]} |
|
|
defaultExpandedKeys={[depMessage[0].id]} |
|
|
selectedKeys={depSelectedKeys} |
|
|
selectedKeys={depSelectedKeys} |
|
|
onSelect={(selectedKeys, { selected, selectedNodes, node }) => { |
|
|
onSelect={(selectedKeys, { selected, selectedNodes, node }) => { |
|
@ -86,7 +87,8 @@ const Authority = (props) => { |
|
|
{ |
|
|
{ |
|
|
depUser.length ? |
|
|
depUser.length ? |
|
|
<Tree |
|
|
<Tree |
|
|
height={clientHeight - 100} |
|
|
// style={{ width: 272 }}
|
|
|
|
|
|
height={168} |
|
|
defaultSelectedKeys={[depUser[0].id]} |
|
|
defaultSelectedKeys={[depUser[0].id]} |
|
|
selectedKeys={userSelectedKeys} |
|
|
selectedKeys={userSelectedKeys} |
|
|
onSelect={(selectedKeys, { selected, selectedNodes, node, event }) => { |
|
|
onSelect={(selectedKeys, { selected, selectedNodes, node, event }) => { |
|
|