From 900f04c28d8620dc22bc86c28252c66ca8c65f2d Mon Sep 17 00:00:00 2001 From: luoyifan Date: Tue, 20 May 2025 17:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=AE=9A=E4=B9=89=EF=BC=8Cwi?= =?UTF-8?q?dgetview=20=E6=8C=82=E4=BB=B6=E8=A7=86=E5=9B=BE=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ModelMain.vue | 43 +++++++++++++++++-------------------------- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/src/views/ModelMain.vue b/src/views/ModelMain.vue index 9c9a261..7c17fc8 100644 --- a/src/views/ModelMain.vue +++ b/src/views/ModelMain.vue @@ -51,19 +51,16 @@
{{ calcLeftPanel?.title }} - + - +
- + @@ -115,19 +112,16 @@
{{ calcRightPanel?.title }} - + - +
- +
@@ -135,19 +129,16 @@
{{ calcBottomPanel?.title }} - + - +
- +
@@ -198,7 +189,7 @@ export default { sectionLeftTitle: 'modeltree', sectionRightTitle: 'property', sectionBottomTitle: '', - sectionLeftSearch:'' + sectionLeftSearch: '' } }, computed: { @@ -299,14 +290,14 @@ export default { this.sectionBottomTitle = panel.name } }, - closeMe(btn){ - if(btn==='hideLeft'){ + closeMe(btn) { + if (btn === 'hideLeft') { this.hideLeft = true this.sectionLeftTitle = '' - }else if(btn==='hideRight'){ + } else if (btn === 'hideRight') { this.hideRight = true this.sectionRightTitle = '' - }else if(btn==='hideBottom'){ + } else if (btn === 'hideBottom') { this.hideBottom = true this.sectionBottomTitle = '' }