1.拖拽生成热区修复鼠标拖拽到外部时,坐标更新问题

sws 2024-08-16
v1.0.0
sws 2024-08-16 15:53:17 +08:00
parent 6bf4a77e70
commit 35e1809b82
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ const end_drag = (event: MouseEvent) => {
drag_end: cloneDeep(rect_end.value),
});
}
rect_start.value = { x: 0, y: 0, width: 0, height: 0 };
rect_end.value = { x: 0, y: 0, width: 0, height: 0 };
};