Merge pull request #160 from zstar1003/dev

refactor(knowledgebase): 在批量任务解析中,增加各文件的状态更新
This commit is contained in:
zstar 2025-06-10 11:19:11 +08:00 committed by GitHub
commit 2bc8d5b818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -528,6 +528,10 @@ async function fetchBatchProgress() {
batchProgress.value = res.data
console.log("获取到批量进度:", batchProgress.value)
if (batchProgress.value.status === "running") {
getDocumentList()
}
//
if (batchProgress.value.status === "completed" || batchProgress.value.status === "failed") {
stopBatchPolling() //