fix(图表): 多序列标签格式化失效

This commit is contained in:
wisonic 2024-07-29 10:10:33 +08:00
parent 295eb6b64e
commit 92287699d4
2 changed files with 5 additions and 6 deletions

View File

@ -35,7 +35,6 @@ span {
.drag-placeholder-style { .drag-placeholder-style {
position: absolute; position: absolute;
top: calc(50% - 4px); top: calc(50% - 4px);
left: 0;
width: 100%; width: 100%;
color: #757575; color: #757575;
text-align: left; text-align: left;

View File

@ -869,7 +869,7 @@ const isGroupBar = computed(() => {
style="width: 100%" style="width: 100%"
:effect="props.themes" :effect="props.themes"
v-model="curSeriesFormatter.formatterCfg.type" v-model="curSeriesFormatter.formatterCfg.type"
@change="changeLabelAttr('quotaLabelFormatter')" @change="changeLabelAttr('seriesLabelFormatter')"
> >
<el-option <el-option
v-for="type in formatterType" v-for="type in formatterType"
@ -897,7 +897,7 @@ const isGroupBar = computed(() => {
:min="0" :min="0"
:max="10" :max="10"
size="small" size="small"
@change="changeLabelAttr('quotaLabelFormatter')" @change="changeLabelAttr('seriesLabelFormatter')"
/> />
</el-form-item> </el-form-item>
@ -921,7 +921,7 @@ const isGroupBar = computed(() => {
v-model="curSeriesFormatter.formatterCfg.unit" v-model="curSeriesFormatter.formatterCfg.unit"
:placeholder="t('chart.pls_select_field')" :placeholder="t('chart.pls_select_field')"
size="small" size="small"
@change="changeLabelAttr('quotaLabelFormatter')" @change="changeLabelAttr('seriesLabelFormatter')"
> >
<el-option <el-option
v-for="item in unitType" v-for="item in unitType"
@ -945,7 +945,7 @@ const isGroupBar = computed(() => {
size="small" size="small"
clearable clearable
:placeholder="t('commons.input_content')" :placeholder="t('commons.input_content')"
@change="changeLabelAttr('quotaLabelFormatter')" @change="changeLabelAttr('seriesLabelFormatter')"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -957,7 +957,7 @@ const isGroupBar = computed(() => {
size="small" size="small"
:effect="props.themes" :effect="props.themes"
v-model="curSeriesFormatter.formatterCfg.thousandSeparator" v-model="curSeriesFormatter.formatterCfg.thousandSeparator"
@change="changeLabelAttr('quotaLabelFormatter')" @change="changeLabelAttr('seriesLabelFormatter')"
:label="t('chart.value_formatter_thousand_separator')" :label="t('chart.value_formatter_thousand_separator')"
/> />
</el-form-item> </el-form-item>