From bf9a9bf17a9e24cd0bae8f9f593c3c026f5ca0b1 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 29 Jul 2025 14:51:34 +0800 Subject: [PATCH] fix: Fix execution refresh issues for cronjob (#9728) --- frontend/src/views/cronjob/cronjob/record/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/views/cronjob/cronjob/record/index.vue b/frontend/src/views/cronjob/cronjob/record/index.vue index d81b2198c..dc074ef73 100644 --- a/frontend/src/views/cronjob/cronjob/record/index.vue +++ b/frontend/src/views/cronjob/cronjob/record/index.vue @@ -348,6 +348,13 @@ const search = async (changeToLatest: boolean) => { } if (changeToLatest) { currentRecord.value = records.value[0]; + return; + } + for (const item of records.value) { + if (item.id === currentRecord.value.id) { + currentRecord.value = item; + break; + } } };