feat(RenderMinerU): 实现 MD 文件加载及分页功能- 新增 getMd_info 和 mdIndex 函数,用于获取 MD 文件信息和内容

- 实现 MD 文件内容的渲染和分页滚动
- 优化编辑模式下的 Markdown 处理
- 去除无用的 console.log 语句
- 调整样式,隐藏滚动条
This commit is contained in:
陈昱达
2025-04-21 15:35:25 +08:00
parent 97ebe1926d
commit 22716957f2
5 changed files with 141 additions and 20 deletions

View File

@@ -268,3 +268,21 @@ export function imageRetry(data) {
noLoading: true
})
}
export function getMd_info(params) {
return request({
url: getUrl(`/document/mineru/md_info`),
method: 'get',
params,
noLoading: true
})
}
export function mdIndex(params) {
return request({
url: getUrl(`/document/mineru/md`),
method: 'get',
params,
noLoading: true,
back: true
})
}