fix: 处理移动记录的类型错误bug

This commit is contained in:
奔跑的面条
2022-08-30 18:48:48 +08:00
parent f0e860f306
commit 6d38d61816
2 changed files with 6 additions and 1 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
}
// 处理位置