style: 限制数字格式化后缀长度 (#17798)

This commit is contained in:
王嘉豪
2026-01-15 18:56:40 +08:00
committed by GitHub
parent 7a2d1181c7
commit 3744261ee6
4 changed files with 4 additions and 0 deletions

View File

@@ -172,6 +172,7 @@ getExampleValue()
<el-input
v-model="formatterCfg.suffix"
:effect="themes"
maxlength="30"
size="small"
clearable
:placeholder="t('commons.input_content')"

View File

@@ -117,6 +117,7 @@ getExampleValue()
<el-input
v-model="formatterItem.formatterCfg.suffix"
clearable
maxlength="30"
:placeholder="t('commons.input_content')"
@change="getExampleValue"
/>

View File

@@ -1433,6 +1433,7 @@ const isProgressBar = computed(() => {
:effect="props.themes"
v-model="curSeriesFormatter.formatterCfg.suffix"
size="small"
maxlength="30"
clearable
:placeholder="t('commons.input_content')"
@change="changeLabelAttr('seriesLabelFormatter')"

View File

@@ -935,6 +935,7 @@ onMounted(() => {
:disabled="!curSeriesFormatter.show"
:effect="props.themes"
v-model="curSeriesFormatter.formatterCfg.suffix"
maxlength="30"
size="small"
clearable
:placeholder="t('commons.input_content')"