Skip to content

Commit fa19a56

Browse files
edifierx666tangjinzhou
authored andcommitted
fix: subMenu some props not work (#1668)
* fix: [subMenu]props * fix: [subMenu]props * fix: [subMenu]props
1 parent f3185a3 commit fa19a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/_util/store/connect.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function connect(mapStateToProps) {
1818
__propsSymbol__: PropTypes.any,
1919
};
2020
Object.keys(tempProps).forEach(k => {
21-
props[k] = { ...k, required: false };
21+
props[k] = { ...tempProps[k], required: false };
2222
});
2323
const Connect = {
2424
name: `Connect_${getDisplayName(WrappedComponent)}`,

0 commit comments

Comments
 (0)