From f8693b522ce6fc608f8487cbccf733852f507134 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Sat, 9 Oct 2021 17:16:37 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/DeDrag/index.vue | 6 +- .../canvas/components/Editor/PGrid.vue | 1 + .../canvas/components/Editor/index.vue | 65 +++++-------------- frontend/src/views/panel/edit/index.vue | 23 +++++++ 4 files changed, 43 insertions(+), 52 deletions(-) diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index 588490abb0..b3d676c66c 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -595,7 +595,7 @@ export default { this.maxH = val }, w(val) { - console.log('changeWidthCK:' + this.resizing) + // console.log('changeWidthCK:' + this.resizing) if (this.resizing || this.dragging) { return @@ -603,7 +603,7 @@ export default { if (this.parent) { this.bounds = this.calcResizeLimits() } - console.log('changeWidth:' + val) + // console.log('changeWidth:' + val) this.changeWidth(val) }, h(val) { @@ -1192,7 +1192,7 @@ export default { this.right = right this.bottom = bottom this.width = width - console.log('width3:' + this.width) + // console.log('width3:' + this.width) this.height = height }, changeHeight(val) { diff --git a/frontend/src/components/canvas/components/Editor/PGrid.vue b/frontend/src/components/canvas/components/Editor/PGrid.vue index 8568377811..dab615d575 100644 --- a/frontend/src/components/canvas/components/Editor/PGrid.vue +++ b/frontend/src/components/canvas/components/Editor/PGrid.vue @@ -1,6 +1,7 @@