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

@@ -53,6 +53,9 @@ service.interceptors.response.use(
const res = response.data
endLoading()
if (response.config.back) {
return response.data
}
// 检查res.content是否存在处理blob等特殊响应类型
if (res.content) {
if (res.content.code) {