摘要: store/index.js import Vue from 'vue' import Vuex from 'vuex'; // 使用vuex Vue.use(Vuex) const store = new Vuex.Store({ state: { count: 0 }, getters: { m 阅读全文
posted @ 2018-12-21 11:42 Ghost的前端日志 阅读(470) 评论(0) 推荐(0) 编辑