From d8bc26d26bb12a54836da5e28dcadb7223645190 Mon Sep 17 00:00:00 2001 From: baiqi Date: Thu, 28 Nov 2024 14:56:36 +0800 Subject: [PATCH] feat(minder): defaultThemeFreshPurple --- .../components/pure/ms-minder-editor/main/mainEditor.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue b/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue index 2c85a70d09..a785e8cca3 100644 --- a/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue +++ b/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue @@ -132,8 +132,12 @@ window.minder.setDefaultOptions({ defaultTheme: 'wire', }); - window.minder.refresh(); + } else { + window.minder.setDefaultOptions({ + defaultTheme: 'fresh-purple', + }); } + window.minder.refresh(); window.minder.forceRemoveNode = () => { markDeleteNode(window.minder); window.minder.execCommand('RemoveNode');