fix:reset rows
This commit is contained in:
parent
eea5c3c84b
commit
9256f6cd16
2 changed files with 4 additions and 0 deletions
|
|
@ -177,6 +177,8 @@ async function fetchListTimeRecord() {
|
|||
? workStore.convertSatatus(e.checkOutStatus)
|
||||
: "-",
|
||||
}));
|
||||
} else {
|
||||
rows.value = [];
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
|
|||
|
|
@ -143,6 +143,8 @@ async function fetchListLogRecord() {
|
|||
checkOutLat: e.checkOutLat ? e.checkOutLat : "",
|
||||
checkOutLon: e.checkOutLon ? e.checkOutLon : "",
|
||||
}));
|
||||
} else {
|
||||
rows.value = [];
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue