1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- import Vue from 'vue'
- import Vuex from 'vuex'
- import user from './model/user'
- Vue.use(Vuex)
- const store = new Vuex.Store({
- state: {
-
- baseURL: 'http://hhred.igxys.com',
-
-
- baseURL: 'http://hhred.igxys.com',
-
-
- urlFile: '/index',
- loginInterceptor: false,
- token:'',
-
- setWeiChatInfo:'',
- Spread:'',
- weichatInfo: {},
- weichatObj: '',
- weichatBrowser: '' ,
-
-
- },
- mutations: {
-
-
- tabbar(state,provider){
- state.tabbarindex = provider;
- },
-
- setWeiChatInfo(state, provider) {
- state.weichatInfo = provider;
- },
- setSpread(state, provider) {
- state.Spread = provider;
- },
-
- setWeiChatObj(state, provider) {
- state.weichatObj = provider;
- }
-
- },
- modules:{
- user
- },
- actions: {
- }
- })
- export default store
|