1234567891011121314151617181920212223242526272829303132 |
- import Vue from 'vue'
- import Vuex from 'vuex'
- import user from './model/user'
- Vue.use(Vuex)
- const store = new Vuex.Store({
- state: {
- // baseURL:'http://kp.liuniu946.com',//请求地址配置
- baseURL:'http://btc.ttfc.pro/',//请求地址配置
- homeURL:'http://btc.ttfc.pro/',//h5页面域名
- urlFile:'/index',//项目部署所在文件夹
- loginInterceptor:false,//是否打开强制登录
-
-
- userInfo: {}, //登录信息
- loginInterceptor:false,//是否打开强制登录
-
- // weichatInfo:{},//保存微信注册信息
- weichatObj:'',//微信对象
- latitude: '',
- longitude: '',
- },
- mutations: {
-
- },
- modules:{
- user
- },
- actions: {}
- })
- export default store
|