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

View File

@ -85,6 +85,8 @@ const canvasPositionList = computed(() => {
h: cloneDeep(chartEditStore.getEditCanvasConfig.height), h: cloneDeep(chartEditStore.getEditCanvasConfig.height),
x: 0, x: 0,
y: 0, y: 0,
offsetX: 0,
offsetY: 0,
zIndex: 0 zIndex: 0
} }
} }

View File

@ -41,7 +41,10 @@ watch(
// //
w: 0, w: 0,
// //
h: 0 h: 0,
//
offsetX: 0,
offsetY: 0
} }
// //