修复餐位费问题

This commit is contained in:
2025-09-29 17:08:36 +08:00
parent fd86132f5d
commit 6fdfac2313

View File

@@ -105,6 +105,9 @@ export const useCartsStore = defineStore('cart',
})
watch(() => shopInfo.value.isTableFee, (newval) => {
seatFeeConfig.value.isEnabled = !shopInfo.value.isTableFee
seatFeeConfig.value.pricePerPerson = shopInfo.value.tableFee||0
},{
deep:true
})
function setSeatFeeConfig(key, val) {