mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
refactor(图表): 指标卡字体大小上限调整 #15882
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
|
||||
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user