修改样式

This commit is contained in:
史悦
2025-10-27 16:20:46 +08:00
parent 86b83dd39a
commit 6d453b2519
2 changed files with 2 additions and 2 deletions

View File

@@ -1220,7 +1220,7 @@
if (!code.trim()) {
throw new Error('缺少 Mermaid 代码,无法渲染');
}
const { svg } = await window.mermaid.render(renderId, code);
const { svg } = await window.mermaid.render("mermaidSvg", code);
const updatedArtifact = {
...artifact,
svgContent: svg