redux更新store中的数据繁琐,我整合了一些代码,使更新store中的数据只需要一行代码 3.action/app.js里,新增一个方法,用来分发该常量;4.Containers/app.js,引用上一步的方法,并调用;咱们写个setProps用来更新props不就行了嘛! hualalalalali 2019-06-21 09:19:31