Skip to content

Commit cd8a6e0

Browse files
committed
fix: 修复 CommandLoading/TextBuffer mermaid 节点方括号嵌套导致渲染失败
1 parent 532de0e commit cd8a6e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/CommandLoading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export function CommandLoading() {
120120
freeze[冻结结果]
121121
end
122122
123-
output([readonly SlashCommand[]])
123+
output(["readonly SlashCommand list"])
124124
125125
BL --> builtin
126126
FL --> user

src/pages/TextBuffer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function TextBuffer() {
9999
end
100100
101101
subgraph State["状态结构"]
102-
LINES["lines: string["]]
102+
LINES["lines: string array"]
103103
CURSOR["cursorRow/cursorCol"]
104104
UNDO["undoStack/redoStack"]
105105
CLIP[clipboard]

0 commit comments

Comments
 (0)