fix(minerU): 修复 PDF 识别状态和Markdown 加载问题

- 在 getPDFDetailBbox 方法中添加 iframe 刷新和 Markdown 加载
- 完善 getMinerUStatus 方法,增加识别失败的错误提示
- 优化代码结构,提高可读性和维护性
This commit is contained in:
陈昱达
2025-04-16 17:51:13 +08:00
parent a220919485
commit b4b8674487
2 changed files with 9 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ export function minerUQuery(params) {
}
//minerU 获取markdown
export function minerUMarkDown(params) {
return getUrl(`document/mineru/md?documentId=${params.documentId}`)
return getUrl(`/document/mineru/md?documentId=${params.documentId}`)
}
// minerU 获取pdf