From 4259fdd8a3858bba5bff537a6680725215dd63b3 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 4 Sep 2024 15:50:18 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E9=98=88?= =?UTF-8?q?=E5=80=BC=E5=91=8A=E8=AD=A6-=E9=83=A8=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=9B=BE=E8=A1=A8=E5=9C=A8=E9=AB=98=E7=BA=A7=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E7=BC=BA=E5=B0=91=E9=98=88=E5=80=BC=E5=91=8A=E8=AD=A6?= =?UTF-8?q?=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/editor/editor-senior/Senior.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue b/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue index 5ae2394e26..0754896509 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue @@ -173,8 +173,11 @@ const SENIOR_PROP: EditorProperty[] = [ 'linkage', 'bubble-animate' ] +const excludeTypeList = ['chart-mix', 'chart-mix-stack', 'chart-mix-group'] const noSenior = computed(() => { - return !includesAny(properties.value, ...SENIOR_PROP) + return ( + !includesAny(properties.value, ...SENIOR_PROP) && excludeTypeList.includes(chart.value.type) + ) }) const linkJumpActiveChange = () => {