1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

fix: 解决计划任务报告刷新异常的问题 (#4177)

Refs #4175
This commit is contained in:
建国 2024-03-14 11:14:06 +08:00 committed by GitHub
parent b643fa2ca3
commit 1d01fa1e14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -407,6 +407,9 @@ const forDetail = async (row: Cronjob.Record) => {
const loadRecord = async (row: Cronjob.Record) => {
if (row.records) {
const res = await getRecordLog(row.id);
if (currentRecordDetail.value === res.data) {
return;
}
currentRecordDetail.value = res.data;
const state = view.value.state;
view.value.dispatch({