From afbad86b9315794b130c818748759a270245eafe Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 3 Aug 2021 13:18:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E6=94=B9=E4=BF=9D=E5=AD=98=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E8=BF=98=E6=98=AF=E7=81=B0=E7=9A=84=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/DragShadow.vue | 172 ++++++++++++++++++ .../canvas/components/Editor/index.vue | 1 + 2 files changed, 173 insertions(+) create mode 100644 frontend/src/components/DeDrag/DragShadow.vue diff --git a/frontend/src/components/DeDrag/DragShadow.vue b/frontend/src/components/DeDrag/DragShadow.vue new file mode 100644 index 0000000000..60d9e6d358 --- /dev/null +++ b/frontend/src/components/DeDrag/DragShadow.vue @@ -0,0 +1,172 @@ + + + + + diff --git a/frontend/src/components/canvas/components/Editor/index.vue b/frontend/src/components/canvas/components/Editor/index.vue index b647626b30..e3ba326800 100644 --- a/frontend/src/components/canvas/components/Editor/index.vue +++ b/frontend/src/components/canvas/components/Editor/index.vue @@ -275,6 +275,7 @@ export default { // 第一次变化 不需要 重置边界 待改进 if (this.changeIndex++ > 0) { this.resizeParentBounds() + this.$store.state.styleChangeTimes++ } // this.changeScale() },