Skip to content

Commit

Permalink
fix: subMenu some props not work (#1668)
Browse files Browse the repository at this point in the history
* fix: [subMenu]props

* fix: [subMenu]props

* fix: [subMenu]props
  • Loading branch information
edifierx666 authored and tangjinzhou committed Jan 15, 2020
1 parent f3185a3 commit fa19a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/_util/store/connect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`,
Expand Down

0 comments on commit fa19a56

Please sign in to comment.