From bf15bcb963422ed574d1d4079d025028e45f3c98 Mon Sep 17 00:00:00 2001 From: vdpAdmin Date: Tue, 18 Apr 2023 16:46:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=87=A0=E4=B8=AA=E5=B0=8Fbu?= =?UTF-8?q?g=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../form-widget/container-widget/grid-col-widget.vue | 2 +- .../form-designer/form-widget/container-widget/tab-widget.vue | 3 +-- src/components/form-designer/toolbar-panel/index.vue | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/form-designer/form-widget/container-widget/grid-col-widget.vue b/src/components/form-designer/form-widget/container-widget/grid-col-widget.vue index 9f76533..794a20f 100644 --- a/src/components/form-designer/form-widget/container-widget/grid-col-widget.vue +++ b/src/components/form-designer/form-widget/container-widget/grid-col-widget.vue @@ -190,7 +190,7 @@ this.layoutProps.span = this.widget.options.md || 12 } } else { - this.layoutProps.spn = this.widget.options.span + this.layoutProps.span = this.widget.options.span } }, diff --git a/src/components/form-designer/form-widget/container-widget/tab-widget.vue b/src/components/form-designer/form-widget/container-widget/tab-widget.vue index eb4c131..a97b4d6 100644 --- a/src/components/form-designer/form-widget/container-widget/tab-widget.vue +++ b/src/components/form-designer/form-widget/container-widget/tab-widget.vue @@ -93,8 +93,7 @@ }, methods: { onTabClick(evt) { - console.log('onTabClick', evt) - let paneName = evt.name + let paneName = evt.paneName this.widget.tabs.forEach((tp) => { tp.options.active = tp.options.name === paneName; }) diff --git a/src/components/form-designer/toolbar-panel/index.vue b/src/components/form-designer/toolbar-panel/index.vue index 7d86507..d15a72c 100644 --- a/src/components/form-designer/toolbar-panel/index.vue +++ b/src/components/form-designer/toolbar-panel/index.vue @@ -18,7 +18,7 @@ + :destroy-on-close="true" class="node-tree-drawer">