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.
37 lines
509 B
37 lines
509 B
import Vue from 'vue';
|
|
import Vuex from 'vuex';
|
|
import school from './modules/school';
|
|
import user from './modules/user';
|
|
import permissionToast from './modules/permissionToast';
|
|
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,
|
|
permissionToast
|
|
},
|
|
});
|
|
|
|
export default store;
|