fix: Fix execution refresh issues for cronjob (#9728)

This commit is contained in:
ssongliu
2025-07-29 14:51:34 +08:00
committed by GitHub
parent 70df4dc6c4
commit bf9a9bf17a
@@ -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;
}
}
};