forked from github/dataease
fix: 限制事件触发位置,防止复用的位置误触发事件
This commit is contained in:
parent
8016368f42
commit
f99d075569
@ -232,12 +232,13 @@ const onPointClick = param => {
|
||||
|
||||
const eventEnable = computed(
|
||||
() =>
|
||||
['Picture', 'CanvasIcon', 'CircleShape', 'SvgTriangle', 'RectShape', 'ScrollText'].includes(
|
||||
showPosition.value.includes('preview') &&
|
||||
(['Picture', 'CanvasIcon', 'CircleShape', 'SvgTriangle', 'RectShape', 'ScrollText'].includes(
|
||||
config.value.component
|
||||
) ||
|
||||
(['indicator', 'rich-text'].includes(config.value.innerType) &&
|
||||
config.value.events &&
|
||||
config.value.events.checked)
|
||||
(['indicator', 'rich-text'].includes(config.value.innerType) &&
|
||||
config.value.events &&
|
||||
config.value.events.checked))
|
||||
)
|
||||
|
||||
const onWrapperClick = e => {
|
||||
|
Loading…
Reference in New Issue
Block a user