diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue index f0d8a217c1..e2a1938f3b 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue @@ -116,11 +116,14 @@ const onChangeXAxisForm = (val, prop) => { } const onChangeYAxisForm = (val, prop) => { + if (prop === 'show' && chart.value.type === 'chart-mix') { + chart.value.customStyle.yAxisExt.show = val.show + onChangeYAxisExtForm(chart.value.customStyle.yAxisExt, 'show') + } state.initReady && emit('onChangeYAxisForm', val, prop) } const onChangeYAxisExtForm = (val, prop) => { - console.log(val, prop) state.initReady && emit('onChangeYAxisExtForm', val, prop) } diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualYAxisSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualYAxisSelector.vue index 545c0549f4..6320476048 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualYAxisSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualYAxisSelector.vue @@ -49,7 +49,6 @@ const changeAxisStyle = (val, prop) => { } const changeSubAxisStyle = (val, prop) => { - console.log(val, prop) emit('onChangeYAxisExtForm', val, prop) }