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

pull/329/head
tangjinzhou 6 years ago
parent cffef392e5
commit 3393f0e151

@ -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