mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增前进后退按钮,修改粘贴的位置问题
This commit is contained in:
@@ -351,8 +351,8 @@ export const useChartEditStore = defineStore({
|
||||
// 生成新 id
|
||||
e.id = getUUID()
|
||||
// 偏移位置
|
||||
e.attr.x = e.attr.x + 30
|
||||
e.attr.y = e.attr.y + 30
|
||||
e.attr.x = this.getMousePosition.x + 30
|
||||
e.attr.y = this.getMousePosition.y + 30
|
||||
return e
|
||||
}
|
||||
const isCut = recordCharts.type === HistoryActionTypeEnum.CUT
|
||||
|
||||
Reference in New Issue
Block a user