fix bug calendar

This commit is contained in:
Warunee Tamkoo 2024-03-01 14:09:22 +07:00
parent 8122abea92
commit b3e2c90d6c

View file

@ -169,11 +169,12 @@ watch(
if (salaryPosTypeOption.value.length === 0) { if (salaryPosTypeOption.value.length === 0) {
await fetchPosType(); await fetchPosType();
} }
// if (props.typeAction === "add") { if (props.typeAction === "add") {
// formData.date = new Date(); formData.date = new Date();
// formData.startDate = new Date(); formData.startDate = new Date();
// formData.endDate = new Date(); formData.endDate = new Date();
// } }
if (props.typeAction === "edit") { if (props.typeAction === "edit") {
await showLoader(); await showLoader();
if (props.data) { if (props.data) {