feat: 商品的计算问题
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user