123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import Vue from 'vue'
- import Vuex from 'vuex'
- import user from './model/user'
- Vue.use(Vuex)
- const store = new Vuex.Store({
- state: {
-
- baseURL: 'https://red.liuniu946.com',
-
-
- baseURL: 'https://red.liuniu946.com',
-
-
- urlFile: '/index',
- loginInterceptor: false,
- token:'',
-
- setWeiChatInfo:'',
- Spread:'',
- weichatInfo: {},
- weichatObj: '',
- weichatBrowser: '' ,
-
-
- project_area: 0
- },
- 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
|