From 6d38d618163123a435f65a293485ca834a210ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Tue, 30 Aug 2022 18:48:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E7=9A=84=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/ContentEdit/components/EditAlignLine/index.vue | 2 ++ src/views/chart/ContentEdit/components/EditSelect/index.vue | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/chart/ContentEdit/components/EditAlignLine/index.vue b/src/views/chart/ContentEdit/components/EditAlignLine/index.vue index 21cd161f..e65f5c6d 100644 --- a/src/views/chart/ContentEdit/components/EditAlignLine/index.vue +++ b/src/views/chart/ContentEdit/components/EditAlignLine/index.vue @@ -85,6 +85,8 @@ const canvasPositionList = computed(() => { h: cloneDeep(chartEditStore.getEditCanvasConfig.height), x: 0, y: 0, + offsetX: 0, + offsetY: 0, zIndex: 0 } } diff --git a/src/views/chart/ContentEdit/components/EditSelect/index.vue b/src/views/chart/ContentEdit/components/EditSelect/index.vue index e307e118..1a8df6c7 100644 --- a/src/views/chart/ContentEdit/components/EditSelect/index.vue +++ b/src/views/chart/ContentEdit/components/EditSelect/index.vue @@ -41,7 +41,10 @@ watch( // 宽 w: 0, // 高 - h: 0 + h: 0, + // 偏移 + offsetX: 0, + offsetY: 0 } // 处理位置