fix bug load
This commit is contained in:
parent
9b03f29353
commit
6d01c409c5
1 changed files with 11 additions and 12 deletions
|
|
@ -412,19 +412,18 @@ async function getCheck() {
|
|||
}
|
||||
/** ปิด popup แสดงการลงเวลา*/
|
||||
async function onClickConfirm() {
|
||||
showLoader()
|
||||
if (!statusCheckin.value) {
|
||||
statusCheckin.value = true
|
||||
try {
|
||||
showLoader()
|
||||
cameraIsOn.value = false
|
||||
img.value = undefined
|
||||
modalTime.value = false
|
||||
if (!statusCheckin.value) {
|
||||
statusCheckin.value = true
|
||||
}
|
||||
await startChecking()
|
||||
} finally {
|
||||
hideLoader()
|
||||
}
|
||||
|
||||
// await fetchCheckTime()
|
||||
// fetchCheckStatus()
|
||||
|
||||
startChecking()
|
||||
|
||||
cameraIsOn.value = false
|
||||
img.value = undefined
|
||||
modalTime.value = false
|
||||
}
|
||||
|
||||
/** เลือกสถานที่ทำงาน*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue