dva.js 页面与仓库的连接

第一种连接方式 state中存放了所有models(全局仓库)中的state mapStateToProps方法会将我们拿到的state.product return出来,合并到当前组件的props中 第二种连接方式 第三种连接方式
相关文章
相关标签/搜索