上面那个对象是父组件的props,下面是子组件props,使用connect对父组件处理了。
mapStateToProps mapDispatchToProps 写了吗
mapStateToProps +1