mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-25 02:40:16 +08:00
fix: 粘贴坐标
This commit is contained in:
parent
c3140d3746
commit
91c4cca62e
@ -500,8 +500,8 @@ export const useChartEditStore = defineStore({
|
|||||||
}
|
}
|
||||||
const parseHandle = (e: CreateComponentType | CreateComponentGroupType) => {
|
const parseHandle = (e: CreateComponentType | CreateComponentGroupType) => {
|
||||||
e = cloneDeep(e)
|
e = cloneDeep(e)
|
||||||
e.attr.x = this.getMousePosition.x + 30
|
e.attr.x = this.getMousePosition.startX
|
||||||
e.attr.y = this.getMousePosition.y + 30
|
e.attr.y = this.getMousePosition.startY
|
||||||
// 外层生成新 id
|
// 外层生成新 id
|
||||||
e.id = getUUID()
|
e.id = getUUID()
|
||||||
// 分组列表生成新 id
|
// 分组列表生成新 id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user