chore:正常运行
This commit is contained in:
@@ -50,8 +50,8 @@ const store = new Vuex.Store({
|
||||
goods: '',
|
||||
head: '',
|
||||
store: '',
|
||||
article: '',
|
||||
aiAgent: ''
|
||||
article: '',
|
||||
aiAgent: ''
|
||||
},
|
||||
cartList: {},
|
||||
cartIds: [],
|
||||
@@ -67,6 +67,7 @@ const store = new Vuex.Store({
|
||||
cartPosition: null, // 购物车所在位置
|
||||
componentRefresh: 0, // 组件刷新
|
||||
servicerConfig: null, // 客服配置
|
||||
wxworkConfig: null, // 企业微信配置
|
||||
diySeckillInterval: 0,
|
||||
diyGroupPositionObj: {},
|
||||
diyGroupShowModule: '',
|
||||
@@ -167,6 +168,11 @@ const store = new Vuex.Store({
|
||||
state.servicerConfig = value;
|
||||
uni.setStorageSync('servicerConfig', value);
|
||||
},
|
||||
// 企业微信配置
|
||||
setWxworkConfig(state, value) {
|
||||
state.wxworkConfig = value;
|
||||
uni.setStorageSync('wxworkConfig', value);
|
||||
},
|
||||
setDiySeckillInterval(state, value) {
|
||||
state.diySeckillInterval = value;
|
||||
},
|
||||
@@ -232,6 +238,11 @@ const store = new Vuex.Store({
|
||||
this.commit('setSiteInfo', data.site_info);
|
||||
|
||||
this.commit('setServicerConfig', data.servicer);
|
||||
|
||||
// 企业微信配置
|
||||
if (data?.wxwork_config) {
|
||||
this.commit('setWxworkConfig', data.wxwork_config);
|
||||
}
|
||||
|
||||
this.commit('setCopyright', data.copyright);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user