diff --git a/src/pages-booking/components/FooterSection/index.vue b/src/pages-booking/components/FooterSection/index.vue index 8ea16e4..732796b 100644 --- a/src/pages-booking/components/FooterSection/index.vue +++ b/src/pages-booking/components/FooterSection/index.vue @@ -55,9 +55,8 @@ const count = computed({ }); const totalAmt = computed(() => { - const { totalDays } = props.selectedDate; + const { totalDays = 1 } = props.selectedDate; const { specificationPrice } = props.orderData; - return count.value * Number(specificationPrice) * totalDays; });