import { createStore } from "vuex"; export default createStore({ state: { islogin: true, access_token:'', refresh_token:'', userinfo:{} }, mutations: { updateislog(state, islogin) { state.islogin = islogin }, updatetk(state, access_token) { state.access_token = access_token }, updaterftk(state, refresh_token) { state.refresh_token = refresh_token }, updatauser(state, userinfo) { state.userinfo = userinfo } }, actions: { huoqubeijin(context){ // context.commit('') } }, getters: { }, modules: {} });