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 } // 处理位置