feat(RenderMinerU): 添加表格重新识别和撤销功能

- 新增 imageRetry 函数用于重新识别表格
- 添加撤销功能,可恢复到未识别状态
-优化按钮显示逻辑,只有在可编辑状态下显示撤销按钮
-调整公共样式,确保表格宽度占满
This commit is contained in:
陈昱达
2025-04-21 14:10:30 +08:00
parent 44c4d5fa8c
commit 97ebe1926d
4 changed files with 70 additions and 9 deletions

View File

@@ -257,3 +257,14 @@ export function queryTask(params) {
params
})
}
// 识别页面表格
export function imageRetry(data) {
return request({
url: getUrl(`/document/mineru/img/retry`),
method: 'post',
data,
noLoading: true
})
}