From 8b0947484f68be6c8e5fc8382aba594c338e91c1 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 3 Nov 2021 16:49:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=8E=BB=E6=8E=89=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/components/Editor/index.vue | 2 +- frontend/src/components/canvas/store/snapshot.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/canvas/components/Editor/index.vue b/frontend/src/components/canvas/components/Editor/index.vue index ff815a25af..959822a2ef 100644 --- a/frontend/src/components/canvas/components/Editor/index.vue +++ b/frontend/src/components/canvas/components/Editor/index.vue @@ -1035,7 +1035,7 @@ export default { // 初始化时componentData 加载可能出现慢的情况 此时重新初始化一下matrix if (newVal.length !== this.lastComponentDataLength) { this.lastComponentDataLength = newVal.length - console.log('.initMatrix2') + // console.log('.initMatrix2') this.initMatrix() } }, diff --git a/frontend/src/components/canvas/store/snapshot.js b/frontend/src/components/canvas/store/snapshot.js index d9717c8c6b..173725a674 100644 --- a/frontend/src/components/canvas/store/snapshot.js +++ b/frontend/src/components/canvas/store/snapshot.js @@ -45,7 +45,7 @@ export default { } }, refreshSnapshot(state) { - console.log('refreshSnapshot') + // console.log('refreshSnapshot') // 刷新快照 state.snapshotData = [] state.snapshotStyleData = []