This commit is contained in:
Warunee Tamkoo 2024-12-15 21:25:50 +07:00
parent a14224ad0b
commit 0bcf05531f
12 changed files with 30 additions and 18 deletions

View file

@ -139,8 +139,8 @@ async function fetchCheck() {
const data = res.data.result;
isLeave.value = data.isLeave;
formDataBirth.leaveTotal = data.totalDate;
reasonLeave.value = data.reason
? data.reason
reasonLeave.value = data.message
? data.message
: "จำนวนวันลาเกินที่กำหนด";
})
.catch((e: any) => {