学员端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
433 B

import Vue from 'vue';
import Vuex from 'vuex';
import school from './modules/school';
import user from './modules/user';
import getters from './getters';
Vue.use(Vuex);
const store = new Vuex.Store({
state: {
webViewUrl: '',
},
getters,
mutations: {
// webViewUrl
updateWebVeiwUrl(state, url) {
state.webViewUrl = url
},
},
actions: {
},
modules: {
school,
user,
},
});
export default store;