摘要: 1: state 就像 model 2: action, 普通的 javascript 对象, 用来描述发生了什么, 里面除了type 必须的, 还会其它属性值来改变 state。 { type: 'ADD_TODO', text: 'Go to swimming pool' }{ type: 'T 阅读全文
posted @ 2017-05-07 23:47 zhengming 阅读(501) 评论(0) 推荐(0) 编辑