From cfad9319ea6c9ff53204448d39b90d42e6e59902 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 4 Jul 2022 13:47:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E6=8A=98=E7=BA=BF=E5=9B=BE/=E5=A0=86=E5=8F=A0=E6=8A=98?= =?UTF-8?q?=E7=BA=BF=E5=9B=BE-=E5=A4=A7=E5=B0=8F=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=E5=AE=9E=E7=BA=BF/=E8=99=9A=E7=BA=BF?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E3=80=81=E6=8A=98=E7=82=B9=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/util.js | 2 ++ .../views/chart/components/shape-attr/SizeSelector.vue | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chart/chart/util.js b/frontend/src/views/chart/chart/util.js index 7e63f3f315..80eb8bb82f 100644 --- a/frontend/src/views/chart/chart/util.js +++ b/frontend/src/views/chart/chart/util.js @@ -1393,6 +1393,7 @@ export const TYPE_CONFIGS = [ 'size-selector': [ 'lineWidth', 'lineSymbol', + 'lineType', 'lineSymbolSize', 'lineSmooth' ], @@ -1472,6 +1473,7 @@ export const TYPE_CONFIGS = [ 'size-selector': [ 'lineWidth', 'lineSymbol', + 'lineType', 'lineSymbolSize', 'lineSmooth' ], diff --git a/frontend/src/views/chart/components/shape-attr/SizeSelector.vue b/frontend/src/views/chart/components/shape-attr/SizeSelector.vue index afe07f1990..c8a617ce3b 100644 --- a/frontend/src/views/chart/components/shape-attr/SizeSelector.vue +++ b/frontend/src/views/chart/components/shape-attr/SizeSelector.vue @@ -34,6 +34,9 @@ /> + + + {{ $t('chart.line_smooth') }} @@ -187,7 +190,7 @@ - + {{ $t('chart.line_type_solid') }} {{ $t('chart.line_type_dashed') }} @@ -203,6 +206,9 @@ /> + + + {{ $t('chart.line_smooth') }}