perf: 优化页面交互操作

This commit is contained in:
奔跑的面条
2022-09-08 21:04:13 +08:00
parent 7b3012d8da
commit b9783b168f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
:showBottom="true"
:depth="1"
:xScroll="true"
@mousedown="mousedownHandleUnStop"
@drop="dragHandle"
@dragover="dragoverHandle"
@dragenter="dragoverHandle"
@@ -87,7 +88,7 @@ import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore
import { useLayout } from './hooks/useLayout.hook'
import { useAddKeyboard } from '../hooks/useKeyboard.hook'
import { dragHandle, dragoverHandle, useMouseHandle } from './hooks/useDrag.hook'
import { dragHandle, dragoverHandle, mousedownHandleUnStop, useMouseHandle } from './hooks/useDrag.hook'
import { useComponentStyle, useSizeStyle } from './hooks/useStyle.hook'
import { ContentBox } from '../ContentBox/index'