摘要: Vue.use(Vuex) const store=new Vuex.Store({ state:{ count:10 }, getters:{ }, mutations:{ INCRENENT(state){ state.count++ } }, actions:{ inputevent({commit}){ commit... 阅读全文
posted @ 2017-09-26 17:08 fm060 阅读(148) 评论(0) 推荐(0)