Merge pull request #9161 from dataease/pr@dev-v2@fix_linkage-icon

fix(仪表板): 修复复制配置联动的图表,联动标识未消失问题
This commit is contained in:
王嘉豪 2024-04-17 13:46:50 +08:00 committed by GitHub
commit e88c2b10c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,13 +153,13 @@ const trackMenu = computed<Array<string>>(() => {
}) })
const hasLinkIcon = computed(() => { const hasLinkIcon = computed(() => {
return trackMenu.value.indexOf('linkage') > -1 || trackMenu.value.indexOf('linkageAndDrill') return trackMenu.value.indexOf('linkage') > -1 || trackMenu.value.indexOf('linkageAndDrill') > -1
}) })
const hasJumpIcon = computed(() => { const hasJumpIcon = computed(() => {
return trackMenu.value.indexOf('jump') > -1 && !mobileInPc.value return trackMenu.value.indexOf('jump') > -1 && !mobileInPc.value
}) })
const hasDrillIcon = computed(() => { const hasDrillIcon = computed(() => {
return trackMenu.value.indexOf('drill') > -1 || trackMenu.value.indexOf('linkageAndDrill') return trackMenu.value.indexOf('drill') > -1 || trackMenu.value.indexOf('linkageAndDrill') > -1
}) })
const loading = ref(false) const loading = ref(false)