Commit f04da905 authored by nick zheng's avatar nick zheng

chore: markdown渲染图表失败展示

parent 3761062f
......@@ -87,7 +87,7 @@ const walkTokens = async (token: any) => {
token.text = tempDiv.innerHTML
} catch (error) {
token.text = `<div class="mermaid-error">
<div class="bg-svg-mermaid_error h-5 w-5"></div>
<div class="h-5 w-5 bg-[url(@/assets/svgs/mermaid-error.svg)] bg-cover"></div>
<span>${t('common_module.mermaid_render_error')}</span>
</div>`
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment