组成: 组件间通信, 通过store实现全局存取。修改: 唯一途径, 通过commit一个mutations(同步)或dispatch一个actions(异步)。简写: 引入mapState、mapGetters、mapActions。