fix(数据大屏、仪表板): 修复事件禁用可能失效问题

This commit is contained in:
wangjiahao 2024-09-03 10:43:46 +08:00
parent 4e2da51105
commit b44df4c824

View File

@ -236,9 +236,9 @@ const eventEnable = computed(
(['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 => {