From e0491f7963624d7ff12cf7d102773d11dcfb022a Mon Sep 17 00:00:00 2001 From: wisonic-s <51065359+wisonic-s@users.noreply.github.com> Date: Fri, 18 Apr 2025 13:51:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E6=8C=87?= =?UTF-8?q?=E6=A0=87=E5=8D=A1=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F=E4=B8=8A?= =?UTF-8?q?=E9=99=90=E8=B0=83=E6=95=B4=20#15882?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../editor-style/components/IndicatorNameSelector.vue | 6 ++++++ .../editor-style/components/IndicatorValueSelector.vue | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue index fc3945c430..2fcb8ff4fd 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue @@ -64,6 +64,12 @@ const fontSizeList = computed(() => { value: i }) } + for (let i = 70; i <= 210; i += 10) { + arr.push({ + name: i + '', + value: i + }) + } return arr }) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorValueSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorValueSelector.vue index af1882a5fb..46e4c08e22 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorValueSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorValueSelector.vue @@ -61,7 +61,6 @@ const state = reactive({ indicatorValueForm: JSON.parse(JSON.stringify(DEFAULT_INDICATOR_STYLE)), basicStyleForm: {} as ChartBasicStyle }) - const fontSizeList = computed(() => { const arr = [] for (let i = 10; i <= 60; i = i + 2) { @@ -70,6 +69,12 @@ const fontSizeList = computed(() => { value: i }) } + for (let i = 70; i <= 210; i += 10) { + arr.push({ + name: i + '', + value: i + }) + } return arr })