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,