第一步在你建立vuex的store.js中声明actions方法. import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const state={//状态对象count1:1, } ...
確定! 回上一頁