fix Menu selected change error (#4677)

protect none parameter[openKeys, defaultOpenKeys] Menu
pull/4693/head
kacjay 8 years ago committed by 偏右
parent bde7d1c624
commit 1ed890c095

@ -79,7 +79,7 @@ export default class Menu extends React.Component<MenuProps, any> {
}
this.state = {
openKeys,
openKeys: openKeys || [],
};
}
componentWillReceiveProps(nextProps) {

Loading…
Cancel
Save