Merge pull request #11933 from dataease/pr@dev-v2@fix_event

fix(数据大屏、仪表板): 修复事件禁用可能失效问题
This commit is contained in:
王嘉豪 2024-09-03 10:51:46 +08:00 committed by GitHub
commit 170595a469
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 => {