霸王餐,满减活动等问题修复
This commit is contained in:
@@ -128,7 +128,7 @@ export const useCartsStore = defineStore("cart", () => {
|
||||
|
||||
//积分规则
|
||||
const pointDeductionRule = ref({
|
||||
pointsPerYuan: 100,
|
||||
pointsPerYuan: 0,
|
||||
maxDeductionAmount: Infinity,
|
||||
});
|
||||
|
||||
@@ -606,7 +606,7 @@ export const useCartsStore = defineStore("cart", () => {
|
||||
dinnerType.value = "dine-in";
|
||||
userPoints.value = 0;
|
||||
fullReductionActivities.value = [];
|
||||
isFreeDine.value = false;
|
||||
isFreeDine.value = false;
|
||||
}
|
||||
|
||||
return {
|
||||
@@ -649,8 +649,8 @@ export const useCartsStore = defineStore("cart", () => {
|
||||
//清空配置
|
||||
clearOrderConfig,
|
||||
//满减活动
|
||||
fullReductionActivities,
|
||||
isFreeDine,//是否使用霸王餐
|
||||
fullReductionActivities,
|
||||
isFreeDine, //是否使用霸王餐
|
||||
// 商家霸王餐配置
|
||||
freeDineConfig,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user