perf: 优化页面交互操作

This commit is contained in:
奔跑的面条 2022-09-08 21:04:13 +08:00
parent b75667d92c
commit 49956d32cc
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ export const option = {
{
name: 'Funnel',
type: 'funnel',
top: '70',
top: 70,
left: '10%',
width: '80%',
min: 0,

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'