import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const store = new Vuex.Store({ state: { is_mark: 1, is_send: 1, is_kg: 1, user_info: {} }, mutations: { change_send(state, val) { state.is_send = val }, change_market(state, val) { state.is_mark = val }, change_kg(state, val) { state.is_kg = val }, }, actions: { } }) export default store