mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-05 13:18:48 +08:00
fix: 处理移动记录的类型错误bug
This commit is contained in:
parent
f0e860f306
commit
6d38d61816
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,10 @@ watch(
|
|||||||
// 宽
|
// 宽
|
||||||
w: 0,
|
w: 0,
|
||||||
// 高
|
// 高
|
||||||
h: 0
|
h: 0,
|
||||||
|
// 偏移
|
||||||
|
offsetX: 0,
|
||||||
|
offsetY: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// 处理位置
|
// 处理位置
|
||||||
|
Loading…
Reference in New Issue
Block a user