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 = '' }