Fix: 剪切板函数调用问题

This commit is contained in:
2026-03-20 20:46:45 +08:00
parent daca29b640
commit 673de053db
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -25,3 +25,4 @@ go.work.sum
# env file
.env
.vscode/
+1 -1
View File
@@ -128,7 +128,7 @@ func (m Model) handleContentResult(msg contentMsg) (tea.Model, tea.Cmd) {
m.results[TabScenario] = msg.Content
case generators.GeneratorMermaid:
// Mermaid复制到剪切板
clipboard.WriteSilent(msg.Content)
clipboard.Write(msg.Content)
}
// 检查是否全部完成