fix: subMenu some props not work (#1668)
* fix: [subMenu]props * fix: [subMenu]props * fix: [subMenu]propspull/1731/head
parent
f3185a3cf9
commit
fa19a565c2
|
@ -18,7 +18,7 @@ export default function connect(mapStateToProps) {
|
||||||
__propsSymbol__: PropTypes.any,
|
__propsSymbol__: PropTypes.any,
|
||||||
};
|
};
|
||||||
Object.keys(tempProps).forEach(k => {
|
Object.keys(tempProps).forEach(k => {
|
||||||
props[k] = { ...k, required: false };
|
props[k] = { ...tempProps[k], required: false };
|
||||||
});
|
});
|
||||||
const Connect = {
|
const Connect = {
|
||||||
name: `Connect_${getDisplayName(WrappedComponent)}`,
|
name: `Connect_${getDisplayName(WrappedComponent)}`,
|
||||||
|
|
Loading…
Reference in New Issue