From 9c67d62096a4cfed0fcd2154fcfccf59df14a7e4 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Wed, 27 Nov 2024 13:48:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E6=9D=A1=E6=94=AF=E6=8C=81=E6=98=BE=E7=A4=BA=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E6=95=B0=E5=80=BC=20#12469?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../editor-style/components/LabelSelector.vue | 9 ++++-- .../js/panel/charts/bar/progress-bar.ts | 31 +++++++++++-------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/LabelSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/LabelSelector.vue index 5b4e547679..4ee752de45 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/LabelSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/LabelSelector.vue @@ -473,6 +473,9 @@ const noFullDisplay = computed(() => { const isGauge = computed(() => { return props.chart.type === 'gauge' }) +const isProgressBar = computed(() => { + return props.chart.type === 'progress-bar' +})