From c364a9253c05d3d0b79ae55ef086aa9261bacfe2 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 22 May 2024 10:54:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Deslint=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/views/components/ChartComponentG2Plot.vue | 5 +---- .../chart/components/views/components/ChartComponentS2.vue | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue index d611c25d25..93e5f87a23 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentG2Plot.vue @@ -281,10 +281,7 @@ const trackMenu = computed(() => { jumpCount++ } }) - jumpCount && - view.value?.jumpActive && - !mobileInPc.value && - trackMenuInfo.push('jump') + jumpCount && view.value?.jumpActive && !mobileInPc.value && trackMenuInfo.push('jump') linkageCount && view.value?.linkageActive && trackMenuInfo.push('linkage') view.value.drillFields.length && trackMenuInfo.push('drill') // 如果同时配置jump linkage drill 切配置联动时同时下钻 在实际只显示两个 '跳转' '联动和下钻' diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index d2a468b701..01d97dc837 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -318,10 +318,7 @@ const trackMenu = computed(() => { jumpCount++ } }) - jumpCount && - view.value?.jumpActive && - !mobileInPc.value && - trackMenuInfo.push('jump') + jumpCount && view.value?.jumpActive && !mobileInPc.value && trackMenuInfo.push('jump') linkageCount && view.value?.linkageActive && trackMenuInfo.push('linkage') view.value.drillFields.length && trackMenuInfo.push('drill') // 如果同时配置jump linkage drill 切配置联动时同时下钻 在实际只显示两个 '跳转' '联动和下钻'