fix:reset rows

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-01-09 12:02:29 +07:00
parent eea5c3c84b
commit 9256f6cd16
2 changed files with 4 additions and 0 deletions

View file

@ -177,6 +177,8 @@ async function fetchListTimeRecord() {
? workStore.convertSatatus(e.checkOutStatus)
: "-",
}));
} else {
rows.value = [];
}
})
.catch((err) => {

View file

@ -143,6 +143,8 @@ async function fetchListLogRecord() {
checkOutLat: e.checkOutLat ? e.checkOutLat : "",
checkOutLon: e.checkOutLon ? e.checkOutLon : "",
}));
} else {
rows.value = [];
}
})
.catch((err) => {