refactor(图表): 指标卡字体大小上限调整 #15882

This commit is contained in:
wisonic-s
2025-04-18 13:51:54 +08:00
committed by GitHub
parent 9167de8ecc
commit e0491f7963
2 changed files with 12 additions and 1 deletions

View File

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

View File

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