Skip to content

增加结构化渲染结果 - #9

Open
liumaker wants to merge 1 commit into
SoMarkAI:mainfrom
liumaker:refactor/render-result-base
Open

liumaker wants to merge 1 commit into
SoMarkAI:mainfrom
liumaker:refactor/render-result-base

Conversation

@liumaker

Copy link
Copy Markdown

原来的 RenderWorker.render() 只返回图片列表。渲染失败时通常返回 None,调用时无法知道具体失败原因。

后续的 DOM 错误检测、动态截图和渲染重试都需要使用同一套渲染结果,因此先在这个 PR 中补充一个基础接口。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant