fix: 普通文档重试按钮不生效 (#332)

This commit is contained in:
shaohuzhang1 2024-04-30 16:14:57 +08:00 committed by GitHub
parent 832426600a
commit a10dd093e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -371,9 +371,9 @@ function refreshDocument(row: any) {
.catch(() => {})
}
} else {
// documentApi.putDocumentRefresh(row.dataset_id, row.id).then((res) => {
// getList()
// })
documentApi.putDocumentRefresh(row.dataset_id, row.id).then((res) => {
getList()
})
}
}