From 3dae4b9868b712146ca23d25efa49a821fb2fa08 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 26 Sep 2022 16:14:29 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF=E7=BB=84=E4=BB=B6=E6=8B=96=E6=8B=BD=E5=88=A4?= =?UTF-8?q?=E6=96=AD=EF=BC=8C=E9=98=B2=E6=AD=A2=E5=87=BA=E7=8E=B0=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8F=B0=E5=BC=82=E5=B8=B8=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/DeDrag/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index 515f573c62..ebe445291d 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -731,14 +731,14 @@ export default { }, // private 监控dragging resizing dragging(val) { - if (this.enabled) { + if (this.enabled && this.curComponent) { this.curComponent.optStatus.dragging = val this.$store.commit('setScrollAutoMove', 0) } }, // private 监控dragging resizing resizing(val) { - if (this.enabled) { + if (this.enabled && this.curComponent) { this.curComponent.optStatus.resizing = val this.$store.commit('setScrollAutoMove', 0) }