feat: 新增多选的历史记录处理

This commit is contained in:
奔跑的面条
2022-08-16 20:41:41 +08:00
parent 4c353136d5
commit 01c2a20a0f
7 changed files with 118 additions and 122 deletions
@@ -136,6 +136,8 @@ export const useMouseHandle = () => {
let offsetY = (moveEvent.screenY - startY) / scale
chartEditStore.getTargetChart.selectId.forEach(id => {
if(!targetMap.has(id)) return
const index = chartEditStore.fetchTargetIndex(id)
// 拿到初始位置数据
const { x, y, w, h } = targetMap.get(id)