diff --git a/stores/carts.js b/stores/carts.js index cbd2b89..285bfba 100644 --- a/stores/carts.js +++ b/stores/carts.js @@ -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) {