fix: AntV 组合图标题设置不生效

This commit is contained in:
wisonic-s 2023-09-08 14:45:44 +08:00
parent bcdf387ce2
commit 9399db5acf

View File

@ -9,12 +9,12 @@
v-if="chart.type && antVRenderStatus" v-if="chart.type && antVRenderStatus"
v-show="title_show" v-show="title_show"
ref="title" ref="title"
:style="title_class" :style="titleClass"
style="cursor: default;display: block;" style="cursor: default;display: block;"
> >
<div style="padding:4px 4px 0;margin: 0;"> <div style="padding:4px 4px 0;margin: 0;">
<chart-title-update <chart-title-update
:title-class="title_class" :title-class="titleClass"
:chart-info="chartInfo" :chart-info="chartInfo"
:bus="bus" :bus="bus"
:axios-request="axiosRequest" :axios-request="axiosRequest"
@ -128,16 +128,6 @@ export default {
fontWeight: 'normal', fontWeight: 'normal',
background: hexColorToRGBA('#ffffff', 0) background: hexColorToRGBA('#ffffff', 0)
}, },
title_class: {
margin: '0 0',
width: '100%',
fontSize: '18px',
color: '#303133',
textAlign: 'left',
fontStyle: 'normal',
fontWeight: 'normal',
background: ''
},
linkageActiveParam: null, linkageActiveParam: null,
linkageActiveHistory: false, linkageActiveHistory: false,
CHART_CONT_FAMILY_MAP: { CHART_CONT_FAMILY_MAP: {