Browse Source

fix: `Menu` flashing problem when change collapse = true and change openKeys = []

pull/329/head
tangjinzhou 6 years ago
parent
commit
3393f0e151
  1. 3
      components/menu/index.jsx

3
components/menu/index.jsx

@ -105,6 +105,9 @@ const Menu = {
this.setState({ sOpenKeys: this.inlineOpenKeys })
this.inlineOpenKeys = []
}
} else if (val) {
// openKeysreactopenKeysvue便openKeys
this.switchingModeFromInline = true
}
},
restoreModeVerticalFromInline () {

Loading…
Cancel
Save