|
@@ -21,7 +21,8 @@ export const useAppStore = defineStore("app", {
|
|
|
refreshArticles: false,
|
|
refreshArticles: false,
|
|
|
indexRefreshArticles: false,
|
|
indexRefreshArticles: false,
|
|
|
wxConfig: {
|
|
wxConfig: {
|
|
|
- auditModeEnabled: false,
|
|
|
|
|
|
|
+ auditModeEnabled: false, // 此字段在此小程序停用
|
|
|
|
|
+ storeAuditModeEnabled: false, // 使用此字段控制审核时隐藏与显示
|
|
|
carouselImages: [
|
|
carouselImages: [
|
|
|
{
|
|
{
|
|
|
id: 0,
|
|
id: 0,
|
|
@@ -44,11 +45,11 @@ export const useAppStore = defineStore("app", {
|
|
|
shopId: "001",
|
|
shopId: "001",
|
|
|
},
|
|
},
|
|
|
merchantId: null,
|
|
merchantId: null,
|
|
|
- // 首页展示刷新标识,当浏览了新店铺主页/扫店铺码时,改为true,首页onshow时判断true刷新列表并改为false
|
|
|
|
|
- indexRefreshFlag: false,
|
|
|
|
|
- cartRefreshFlag: false,
|
|
|
|
|
- cProductAttr: [],
|
|
|
|
|
- cProductAttrValue: []
|
|
|
|
|
|
|
+ // 首页展示刷新标识,当浏览了新店铺主页/扫店铺码时,改为true,首页onshow时判断true刷新列表并改为false
|
|
|
|
|
+ indexRefreshFlag: false,
|
|
|
|
|
+ cartRefreshFlag: false,
|
|
|
|
|
+ cProductAttr: [],
|
|
|
|
|
+ cProductAttrValue: [],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
getters: {
|
|
getters: {
|
|
@@ -69,12 +70,12 @@ export const useAppStore = defineStore("app", {
|
|
|
SET_REFRESH(val) {
|
|
SET_REFRESH(val) {
|
|
|
this.refreshArticles = val;
|
|
this.refreshArticles = val;
|
|
|
},
|
|
},
|
|
|
- SET_CPATTR(val){
|
|
|
|
|
- this.cProductAttr = val
|
|
|
|
|
- },
|
|
|
|
|
- SET_CPATTRVALUE(val){
|
|
|
|
|
- this.cProductAttrValue = val
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ SET_CPATTR(val) {
|
|
|
|
|
+ this.cProductAttr = val;
|
|
|
|
|
+ },
|
|
|
|
|
+ SET_CPATTRVALUE(val) {
|
|
|
|
|
+ this.cProductAttrValue = val;
|
|
|
|
|
+ },
|
|
|
SET_CART_REFRESH(val) {
|
|
SET_CART_REFRESH(val) {
|
|
|
this.cartRefreshFlag = val;
|
|
this.cartRefreshFlag = val;
|
|
|
},
|
|
},
|