From 60ebc232a76a6ce57d08857935ef14e75c6d32c5 Mon Sep 17 00:00:00 2001 From: baiqi Date: Fri, 16 Aug 2024 17:39:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=91=E5=9B=BE):=20=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=B8=8D=E8=AE=B0=E5=BD=95=E6=9C=AA=E4=BF=9D?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 a0293ab8ee..8c5af3485f 100644 --- a/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue +++ b/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue @@ -142,7 +142,11 @@ if (props.disabled) { ['movetoparent', 'arrange'].forEach((item) => notChangeCommands.add(item)); } - if (selectNodes.length > 0 && !notChangeCommands.has(event.commandName.toLocaleLowerCase())) { + if ( + !props.disabled && + selectNodes.length > 0 && + !notChangeCommands.has(event.commandName.toLocaleLowerCase()) + ) { minderStore.setMinderUnsaved(true); selectNodes.forEach((node: MinderJsonNode) => { markChangeNode(node);