From e078a88733b1b3039e6bb65ddae3323f23b6c90f Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 8 Jul 2022 00:26:38 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E9=94=81=E5=AE=9A=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=89=93=E5=BC=80=E7=9A=84=E9=A1=B5=E7=AD=BE=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=85=B3=E9=97=AD=E5=BD=93=E5=89=8D=E9=A1=B5?= =?UTF-8?q?=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/dialog/processSystem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts index d1f0c967f..5edf4c700 100644 --- a/app/src/dialog/processSystem.ts +++ b/app/src/dialog/processSystem.ts @@ -35,10 +35,10 @@ export const lockFile = (id: string) => { getAllModels().editor.find((item) => { if (item.editor.protyle.block.rootID === id) { item.parent.parent.removeTab(item.parent.id); - logElement.remove(); return true; } }); + logElement.remove(); /// #endif }); logElement.querySelector(".b3-button--text").addEventListener("click", () => {