fix: subMenu some props not work (#1668)

* fix: [subMenu]props

* fix: [subMenu]props

* fix: [subMenu]props
pull/1731/head
edifierx666 5 years ago committed by tangjinzhou
parent f3185a3cf9
commit fa19a565c2

@ -18,7 +18,7 @@ export default function connect(mapStateToProps) {
__propsSymbol__: PropTypes.any,
};
Object.keys(tempProps).forEach(k => {
props[k] = { ...k, required: false };
props[k] = { ...tempProps[k], required: false };
});
const Connect = {
name: `Connect_${getDisplayName(WrappedComponent)}`,

Loading…
Cancel
Save