|
|
|
@ -50,7 +50,7 @@ class SecondDrawer extends React.Component {
|
|
|
|
|
// 180 不知道为什么会偏移 180px
|
|
|
|
|
return (
|
|
|
|
|
<Drawer
|
|
|
|
|
// mask={!this.state.visible}
|
|
|
|
|
mask={!this.state.visible}
|
|
|
|
|
title=" "
|
|
|
|
|
width={this.state.childrenDrawer ? secondDrawerWidth + firstDrawerWidth - 180 : firstDrawerWidth}
|
|
|
|
|
closable={false}
|
|
|
|
@ -58,6 +58,7 @@ class SecondDrawer extends React.Component {
|
|
|
|
|
visible={this.state.visible}
|
|
|
|
|
maskClosable={maskClosable}
|
|
|
|
|
className={firstDrawerClassName}
|
|
|
|
|
getContainer={false}
|
|
|
|
|
>
|
|
|
|
|
{/* <button type="primary" onClick={this.showSecondDrawer}>
|
|
|
|
|
Two-level drawer
|
|
|
|
|