Merge pull request #12004 from dataease/pr@dev-v2@perf_threshold_senior

perf(仪表板): 阈值告警-部分类型图表在高级选项缺少阈值告警入口
This commit is contained in:
fit2cloud-chenyw 2024-09-04 15:51:09 +08:00 committed by GitHub
commit bd02273a34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -173,8 +173,11 @@ const SENIOR_PROP: EditorProperty[] = [
'linkage',
'bubble-animate'
]
const excludeTypeList = ['chart-mix', 'chart-mix-stack', 'chart-mix-group']
const noSenior = computed(() => {
return !includesAny(properties.value, ...SENIOR_PROP)
return (
!includesAny(properties.value, ...SENIOR_PROP) && excludeTypeList.includes(chart.value.type)
)
})
const linkJumpActiveChange = () => {