feat: 新增预览页缩放功能

This commit is contained in:
mtruning
2022-03-06 15:19:18 +08:00
parent 0946d170d7
commit 4405ebd30d
6 changed files with 136 additions and 8 deletions
@@ -189,7 +189,7 @@ export const useMousePointHandle = (
attr.w = newWidth > 0 ? newWidth : 0
attr.x = itemAttrX + (isLeft ? currX : 0)
attr.y = itemAttrY + (isTop ? currY : 0)
})
}, 50)
const mouseup = () => {
// 设置拖拽状态