updated
This commit is contained in:
parent
a14224ad0b
commit
0bcf05531f
12 changed files with 30 additions and 18 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue