From 902e3a7db2a970b1d586b60d45633282134be5ce Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 21 Nov 2024 18:28:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E3=80=81=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=95=B4=E4=BD=93=E5=AD=97=E4=BD=93=E6=9B=B4=E6=8D=A2=20#13408?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard-style/OverallSetting.vue | 30 ++++++++++++++++++- .../visualization/CanvasBaseSetting.vue | 25 +++++++++++++++- core/core-frontend/src/utils/canvasUtils.ts | 1 + core/core-frontend/src/utils/style.ts | 4 ++- .../editor/util/dataVisualization.ts | 3 +- 5 files changed, 59 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue index 42940643b5..b800240ec2 100644 --- a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue +++ b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue @@ -23,6 +23,21 @@ + + + + + ({ + name: ele.name, + value: ele.name + })) +) const toolTip = computed(() => { return props.themes === 'dark' ? 'ndark' : 'dark' }) @@ -271,6 +296,9 @@ const onRefreshChange = val => { } themeChange() } +const styleChange = () => { + snapshotStore.recordSnapshotCache('renderChart') +} const themeChange = (modifyName?) => { if (modifyName === 'themeColor') { diff --git a/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue b/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue index 194d56025f..3f44404944 100644 --- a/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue +++ b/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue @@ -1,6 +1,21 @@