feat: 新增移动撤回

This commit is contained in:
奔跑的面条
2022-08-30 19:14:52 +08:00
8 changed files with 77 additions and 9 deletions
@@ -85,6 +85,8 @@ const canvasPositionList = computed(() => {
h: cloneDeep(chartEditStore.getEditCanvasConfig.height),
x: 0,
y: 0,
offsetX: 0,
offsetY: 0,
zIndex: 0
}
}
@@ -41,7 +41,10 @@ watch(
// 宽
w: 0,
// 高
h: 0
h: 0,
// 偏移
offsetX: 0,
offsetY: 0
}
// 处理位置