Merge pull request #6087 from dataease/pr@dev@fix_antv_chartmix_title

fix: AntV 组合图标题设置不生效
This commit is contained in:
wisonic-s 2023-09-08 14:46:40 +08:00 committed by GitHub
commit 5cc8747e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: {