From 20f67efd58d5ad8df1e9ed5feedd2a5bde915006 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Wed, 27 Sep 2023 16:44:29 +0800 Subject: [PATCH] =?UTF-8?q?Demo=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=85=AC?= =?UTF-8?q?=E5=BC=8F=E4=BE=A7=E8=BE=B9=E6=A0=8F=E7=BB=84=E4=BB=B6=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E4=BE=A7=E8=BE=B9=E6=A0=8F=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/FormulaSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/Edit/components/FormulaSidebar.vue b/web/src/pages/Edit/components/FormulaSidebar.vue index 114025ef..bf95acac 100644 --- a/web/src/pages/Edit/components/FormulaSidebar.vue +++ b/web/src/pages/Edit/components/FormulaSidebar.vue @@ -89,7 +89,7 @@ export default { handleNodeActive(...args) { this.activeNodes = [...args[1]] - if (this.activeNodes.length <= 0) { + if (this.activeNodes.length <= 0 && this.activeSidebar === 'formulaSidebar') { this.setActiveSidebar(null) } },