store.js mutations: { add(state, payload) { state.count += (payload.count); } ... import {mapActions, mapGetters, mapState} from "vuex"; ...
確定! 回上一頁