react-plan
react-plan copied to clipboard
reducer中建议不要直接修改state
1.planlist的reducer中的let list = state.planlist;修改为let list = state.planlist.concat([]); 2.去除pupop.js中的this.setState调用。