From f0f414400f9f01a4168613454c10e86ac472ed74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Mon, 9 May 2022 18:05:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=8A=98=E7=BA=BF?= =?UTF-8?q?=E5=9B=BE=E9=A2=84=E8=A7=88=E4=B8=8D=E4=BC=9A=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/components/Charts/Lines/LineCommon/index.vue | 4 ++-- src/views/chart/contentHeader/headerLeftBtn/index.vue | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/packages/components/Charts/Lines/LineCommon/index.vue b/src/packages/components/Charts/Lines/LineCommon/index.vue index 0e797456..e2f8f9d0 100644 --- a/src/packages/components/Charts/Lines/LineCommon/index.vue +++ b/src/packages/components/Charts/Lines/LineCommon/index.vue @@ -61,9 +61,9 @@ watch(() => chartEditStore.getEditCanvasConfig.chartThemeColor, (newColor: keyof v.color = themeColor[i] }) }) - option.value = mergeTheme(props.chartConfig.option, props.themeSetting, includes) - props.chartConfig.option = option.value } + option.value = mergeTheme(props.chartConfig.option, props.themeSetting, includes) + props.chartConfig.option = option.value }, { immediate: true, }) diff --git a/src/views/chart/contentHeader/headerLeftBtn/index.vue b/src/views/chart/contentHeader/headerLeftBtn/index.vue index 59a5c223..ceb6939a 100644 --- a/src/views/chart/contentHeader/headerLeftBtn/index.vue +++ b/src/views/chart/contentHeader/headerLeftBtn/index.vue @@ -60,8 +60,6 @@ interface ItemType { icon: any } -console.log(useChartLayoutStore()) - const btnList = reactive[]>([ { key: ChartLayoutStoreEnum.CHARTS,