From c427e548c01623f65336176a68166843e9efae81 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Sat, 9 Oct 2021 11:44:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E5=89=8D=E7=AB=AF=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/DeDrag/index.vue | 2 +- frontend/src/components/canvas/components/Editor/index.vue | 2 +- frontend/src/store/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index 59d71d3a94..588490abb0 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -1576,7 +1576,7 @@ export default { }, // 记录当前样式 跟随阴影位置 矩阵处理 recordMatrixCurShadowStyle() { - console.log('recordMatrixCurShadowStyle') + // console.log('recordMatrixCurShadowStyle') // debugger const left = (this.element.x - 1) * this.curCanvasScale.matrixStyleWidth const top = (this.element.y - 1) * this.curCanvasScale.matrixStyleHeight diff --git a/frontend/src/components/canvas/components/Editor/index.vue b/frontend/src/components/canvas/components/Editor/index.vue index 5012449261..45eb109952 100644 --- a/frontend/src/components/canvas/components/Editor/index.vue +++ b/frontend/src/components/canvas/components/Editor/index.vue @@ -1446,7 +1446,7 @@ export default { this.infoBox.startY = e.pageY }, onStartMove(e, item, index) { - console.log('onStartMove:' + index) + // console.log('onStartMove:' + index) const vm = this // e.preventDefault(); diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index 39706b4861..d2a0ffca4a 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -114,7 +114,7 @@ const data = { // }, setShapeStyle({ curComponent, canvasStyleData, curCanvasScale }, { top, left, width, height, rotate }) { - console.log('setShapeStyle:width=' + width + ';height=' + height) + // console.log('setShapeStyle:width=' + width + ';height=' + height) if (top || top === 0) curComponent.style.top = top / curCanvasScale.scalePointHeight if (left || left === 0) curComponent.style.left = left / curCanvasScale.scalePointWidth if (width || width === 0) curComponent.style.width = width / curCanvasScale.scalePointWidth