mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-05 05:09:22 +08:00
perf: 优化页面交互操作
This commit is contained in:
parent
b75667d92c
commit
49956d32cc
@ -27,7 +27,7 @@ export const option = {
|
|||||||
{
|
{
|
||||||
name: 'Funnel',
|
name: 'Funnel',
|
||||||
type: 'funnel',
|
type: 'funnel',
|
||||||
top: '70',
|
top: 70,
|
||||||
left: '10%',
|
left: '10%',
|
||||||
width: '80%',
|
width: '80%',
|
||||||
min: 0,
|
min: 0,
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
:showBottom="true"
|
:showBottom="true"
|
||||||
:depth="1"
|
:depth="1"
|
||||||
:xScroll="true"
|
:xScroll="true"
|
||||||
|
@mousedown="mousedownHandleUnStop"
|
||||||
@drop="dragHandle"
|
@drop="dragHandle"
|
||||||
@dragover="dragoverHandle"
|
@dragover="dragoverHandle"
|
||||||
@dragenter="dragoverHandle"
|
@dragenter="dragoverHandle"
|
||||||
@ -87,7 +88,7 @@ import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore
|
|||||||
|
|
||||||
import { useLayout } from './hooks/useLayout.hook'
|
import { useLayout } from './hooks/useLayout.hook'
|
||||||
import { useAddKeyboard } from '../hooks/useKeyboard.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 { useComponentStyle, useSizeStyle } from './hooks/useStyle.hook'
|
||||||
|
|
||||||
import { ContentBox } from '../ContentBox/index'
|
import { ContentBox } from '../ContentBox/index'
|
||||||
|
Loading…
Reference in New Issue
Block a user