mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-11 11:56:51 +08:00
feat(RenderMinerU): 实现 MD 文件加载及分页功能- 新增 getMd_info 和 mdIndex 函数,用于获取 MD 文件信息和内容
- 实现 MD 文件内容的渲染和分页滚动 - 优化编辑模式下的 Markdown 处理 - 去除无用的 console.log 语句 - 调整样式,隐藏滚动条
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user