12345678910111213141516171819202122232425262728293031323334 |
- import Vue from 'vue'
- import Vuex from 'vuex'
- import user from './model/user'
- Vue.use(Vuex)
- const store = new Vuex.Store({
- state: {
-
- baseURL:'https://wwgj.liuniu946.com',
- urlFile:'/index',
- userInfo: {},
- loginInterceptor:false,
-
- weichatInfo:{},
- weichatObj:'',
-
- },
- mutations: {
-
- setWeiChatInfo(state, provider) {
- state.weichatInfo = provider;
- },
-
- setWeiChatObj(state, provider) {
- state.weichatObj = provider;
- }
- },
- modules:{
- user
- },
- actions: {}
- })
- export default store
|