From a29f7faa8fdc4e090aa6f97751ee962b27f4e02b Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 28 Aug 2024 12:06:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E8=AE=BE=E7=BD=AE=E9=A2=9C=E8=89=B2=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=B1=9E=E6=80=A7=E6=97=B6=E7=82=B9=E5=87=BB=E9=9D=9E?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E7=BB=84=E4=BB=B6=E8=B0=83=E8=89=B2=E6=9D=BF?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E5=81=8F=E7=A7=BB=E5=88=B0=E5=B7=A6=E4=B8=8A?= =?UTF-8?q?=E8=A7=92=E6=B2=A1=E6=9C=89=E5=85=B3=E9=97=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/editor/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index 2684d035c2..5491e69547 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -271,7 +271,11 @@ const getFields = (id, chartId, type) => { } const chartStyleShow = computed(() => { - return view.value.type !== 'richText' + return ( + view.value.type !== 'richText' && + curComponent.value && + curComponent.value.component === 'UserView' + ) }) const chartViewInstance = computed(() => {