fix: 修复按住空格键时 不允许框选

This commit is contained in:
jeo young 2022-12-17 01:33:27 +08:00
parent dff639e901
commit 8dcccef54d

View File

@ -63,6 +63,7 @@ export const mousedownHandleUnStop = (e: MouseEvent, item?: CreateComponentType
// * 框选
export const mousedownBoxSelect = (e: MouseEvent, item?: CreateComponentType | CreateComponentGroupType) => {
if (e.which == 2) return
if (window.$KeyboardActive?.space) return
mousedownHandleUnStop(e)