|
@ -47,15 +47,15 @@ const Sider = (props) => { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
return ( |
|
|
return ( |
|
|
<div id={'page-slider'} style={{ height: clientHeight, position: 'relative', background: '#101531', width: 180 }}> |
|
|
<div id={'page-slider'} style={{ height: clientHeight, position: 'relative', background: '#101531' }}> |
|
|
<Nav |
|
|
<Nav |
|
|
style={{ background: '#101531', width: 180, padding: 0 }} |
|
|
style={{ background: '#101531', padding: 0 }} |
|
|
selectedKeys={selectedKeys} |
|
|
selectedKeys={selectedKeys} |
|
|
// bodyStyle={{}} |
|
|
bodyStyle={{height:clientHeight-64}} |
|
|
// mode = "vertical" |
|
|
mode = "vertical" |
|
|
// footer={{ |
|
|
footer={{ |
|
|
// collapseButton: true, |
|
|
collapseButton: true, |
|
|
// }} |
|
|
}} |
|
|
openKeys={openKeys} |
|
|
openKeys={openKeys} |
|
|
onSelect={({ selectedItems, selectedKeys, }) => { |
|
|
onSelect={({ selectedItems, selectedKeys, }) => { |
|
|
const selectItem = selectedItems[0] |
|
|
const selectItem = selectedItems[0] |
|
|