|
@@ -10,7 +10,7 @@ const store = new Vuex.Store({
|
|
|
baseURL:window.location.protocol + "//" + window.location.host,//请求地址配置
|
|
baseURL:window.location.protocol + "//" + window.location.host,//请求地址配置
|
|
|
// #endif
|
|
// #endif
|
|
|
// #ifndef H5
|
|
// #ifndef H5
|
|
|
- baseURL: 'https://xk.oliug.cn', //正式地址配置
|
|
|
|
|
|
|
+ baseURL: 'https://xinkong.vwetdd.cn', //正式地址配置
|
|
|
// #endif
|
|
// #endif
|
|
|
urlFile: '/index', //项目部署所在文件夹
|
|
urlFile: '/index', //项目部署所在文件夹
|
|
|
loginInterceptor: false, //是否打开强制登录
|
|
loginInterceptor: false, //是否打开强制登录
|
|
@@ -40,6 +40,12 @@ const store = new Vuex.Store({
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
mutations: {
|
|
mutations: {
|
|
|
|
|
+ // #ifdef APP
|
|
|
|
|
+ // 设置http
|
|
|
|
|
+ setHttp(state, provider){
|
|
|
|
|
+ state.baseURL = provider
|
|
|
|
|
+ },
|
|
|
|
|
+ // #endif
|
|
|
//保存微信信息
|
|
//保存微信信息
|
|
|
setWeiChatInfo(state, provider) {
|
|
setWeiChatInfo(state, provider) {
|
|
|
state.weichatInfo = provider;
|
|
state.weichatInfo = provider;
|