fix: 不选择用户后清除优惠券,修改优惠券可用数量计算公式为数量-退菜-退款

This commit is contained in:
2025-03-21 15:07:18 +08:00
parent c011ae22e4
commit 5891fe6e1f
2 changed files with 2 additions and 1 deletions

View File

@@ -346,6 +346,7 @@ const seatAmount = computed(() => {
watch(
() => props.user.id,
(newval) => {
quansSelArr.value = [];
if (newval !== "") {
pointsInit();
}