mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-28 11:08:30 +08:00
2b7fce3ce2
In some situation `Sider` is deeply rendered in Children of `Layout`, and if we don't want to judge whether `Layout` has sider, the attr `hasSider` set to `false` should properly work. However `hasSider || this.state.siders.length > 0` will ignore `hasSider` when it is `false`. |
||
---|---|---|
.. | ||
__snapshots__ | ||
demo.test.js | ||
index.test.js |