feat: 商品的计算问题

This commit is contained in:
zoujing committed 2025-11-26 22:24:04 +08:00
1 parent f422dbaa00
commit f69225dbff
1 file changed
+1 -2
@@ -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;
});
</script>