import * as types from './mutation_type';//引入变量 export default { //types.VUEX_TEST 代表接受哪个actions的commit 也就是上面引入变量的作用 [types.VUEX_TEST](state){ state.count++ } };