diff --git a/src/views/chart/ContentEdit/hooks/useDrag.hook.ts b/src/views/chart/ContentEdit/hooks/useDrag.hook.ts index 510cb979..ed15914f 100644 --- a/src/views/chart/ContentEdit/hooks/useDrag.hook.ts +++ b/src/views/chart/ContentEdit/hooks/useDrag.hook.ts @@ -147,7 +147,7 @@ export const mousedownBoxSelect = (e: MouseEvent, item?: CreateComponentType | C } } }) - }, 50) + }, 20) // 鼠标抬起 const mouseup = () => { @@ -262,7 +262,7 @@ export const useMouseHandle = () => { }) }) return - }, 30) + }, 20) const mouseup = () => { chartEditStore.setMousePosition(0, 0, 0, 0)