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 })