fix(图表-对称条形图): 修复无法配置右轴数据标签样式的问题

This commit is contained in:
jianneng-fit2cloud 2024-08-12 15:49:02 +08:00
parent 136da928b7
commit 57bd6c35bd

View File

@ -58,7 +58,7 @@ watch(
{ deep: false } { deep: false }
) )
const yAxis = computed(() => { const yAxis = computed(() => {
if (props.chart.type.includes('chart-mix')) { if (props.chart.type.includes('chart-mix') || props.chart.type.includes('bidirectional-bar')) {
return union( return union(
defaultTo( defaultTo(
map(props.chart.yAxis, y => { map(props.chart.yAxis, y => {
@ -1274,7 +1274,7 @@ const conversionPrecision = [
转化率 转化率
</el-checkbox> </el-checkbox>
</el-form-item> </el-form-item>
<div style="padding-left: 22px"> <div style="padding-left: 22px" v-if="showProperty('conversionTag')">
<el-row :gutter="8"> <el-row :gutter="8">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="保留小数" class="form-item" :class="'form-item-' + themes"> <el-form-item label="保留小数" class="form-item" :class="'form-item-' + themes">