Compare commits
2 Commits
V1.0.1
...
92f981769f
| Author | SHA1 | Date | |
|---|---|---|---|
| 92f981769f | |||
| f69225dbff |
@@ -57,7 +57,6 @@ const count = computed({
|
||||
const totalAmt = computed(() => {
|
||||
const { totalDays } = props.selectedDate;
|
||||
const { specificationPrice } = props.orderData;
|
||||
|
||||
return count.value * Number(specificationPrice) * totalDays;
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -3,7 +3,11 @@ import { defineStore } from "pinia";
|
||||
export const useSelectedDateStore = defineStore("selectedDate", {
|
||||
state() {
|
||||
return {
|
||||
selectedDate: {},
|
||||
selectedDate: {
|
||||
startDate: "",
|
||||
endDate: "",
|
||||
totalDays: 1,
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user