From 9256f6cd163ea5632a0a79553d0de07ec48ac030 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 9 Jan 2026 12:02:29 +0700 Subject: [PATCH] fix:reset rows --- src/modules/09_leave/components/02_WorkList/Tab1.vue | 2 ++ src/modules/09_leave/components/02_WorkList/Tab2.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/modules/09_leave/components/02_WorkList/Tab1.vue b/src/modules/09_leave/components/02_WorkList/Tab1.vue index 6d4e63d81..c33afe3c8 100644 --- a/src/modules/09_leave/components/02_WorkList/Tab1.vue +++ b/src/modules/09_leave/components/02_WorkList/Tab1.vue @@ -177,6 +177,8 @@ async function fetchListTimeRecord() { ? workStore.convertSatatus(e.checkOutStatus) : "-", })); + } else { + rows.value = []; } }) .catch((err) => { diff --git a/src/modules/09_leave/components/02_WorkList/Tab2.vue b/src/modules/09_leave/components/02_WorkList/Tab2.vue index a1edbb3d0..6c6af46b8 100644 --- a/src/modules/09_leave/components/02_WorkList/Tab2.vue +++ b/src/modules/09_leave/components/02_WorkList/Tab2.vue @@ -143,6 +143,8 @@ async function fetchListLogRecord() { checkOutLat: e.checkOutLat ? e.checkOutLat : "", checkOutLon: e.checkOutLon ? e.checkOutLon : "", })); + } else { + rows.value = []; } }) .catch((err) => {