1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <<<<<<< HEAD
- import Vue from 'vue'
- import Vuex from 'vuex'
- import user from './model/user'
- Vue.use(Vuex)
- let state = {
-
-
- baseURL:'http://rpg.frp.liuniu946.com',
- urlFile:'/index',
- userInfo: {},
- loginInterceptor:false,
-
- weichatInfo:{},
- weichatObj:'',
-
-
- }
- let mutations = {
-
-
- setWeiChatInfo(state, provider) {
- state.weichatInfo = provider;
- },
-
- setWeiChatObj(state, provider) {
- state.weichatObj = provider;
- }
-
- }
- let modules= {
- user
- }
- const store = new Vuex.Store({
- state,
- mutations,
- modules,
- actions: {}
- })
- export default store
- =======
- import Vue from 'vue'
- import Vuex from 'vuex'
- import user from './model/user'
- Vue.use(Vuex)
- const store = new Vuex.Store({
- state: {
-
- baseURL:"http://www.lalanft.net",
- 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
- >>>>>>> 52a7e9ac801e5bdec57490748e56d954e229ebe5
|