wechat-weapp-redux
wechat-weapp-redux copied to clipboard
mapStateToData 第二个变量 是 params 或 options
发现你已很久没有维护这个项目,很遗憾,但使用中还是遇到这个问题,提下看谁能给些帮助
mapStateToData(state, args) 中 args 在你的 wechat-weapp-redux-todos的例子中是onLoaunch 的 options, 试了下不能用网页绑定的数据 data , 但在 react-redux中 可以是 ownProps, 最好是 mapStateToData(state, options, dataPage), mapDispatchToPage(dispatch, options, dataPage), 我自己改了些,但出现其他问题,有谁能帮忙?