From b3b929fbc66a64e39a027d77aedb53c8ec902fe3 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Sun, 30 Jun 2024 17:05:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8-=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE):=20=E7=AC=A6=E5=8F=B7=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E7=BB=B4=E5=BA=A6=E5=8F=96=E6=B6=88=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/editor/drag-item/DimensionItem.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/editor/drag-item/DimensionItem.vue b/core/core-frontend/src/views/chart/components/editor/drag-item/DimensionItem.vue index db0e4b9047..d8b7612099 100644 --- a/core/core-frontend/src/views/chart/components/editor/drag-item/DimensionItem.vue +++ b/core/core-frontend/src/views/chart/components/editor/drag-item/DimensionItem.vue @@ -171,7 +171,12 @@ const valueFormatter = () => { item.value.formatterType = props.type emit('valueFormatter', item.value) } - +const showCustomSort = item => { + if (props.chart.type === 'symbolic-map') { + return false + } + return !item.chartId && (item.deType === 0 || item.deType === 5) +} onMounted(() => { getItemTagType() }) @@ -300,7 +305,7 @@ onMounted(() => {