bugfix--饼图提示语不生效问题

qianming 2 years ago
parent d2a12087e2
commit 34e3323046

@ -237,7 +237,7 @@ export const widgetPiechart = {
{ {
type: 'el-input-number', type: 'el-input-number',
label: '字体字号', label: '字体字号',
name: 'tipFontSize', name: 'tipsFontSize',
required: false, required: false,
placeholder: '', placeholder: '',
value: 16 value: 16

@ -158,8 +158,8 @@ export default {
trigger: "item", trigger: "item",
show: true, show: true,
textStyle: { textStyle: {
color: optionsSetup.lineColor, color: optionsSetup.tipsColor,
fontSize: optionsSetup.tipFontSize, fontSize: optionsSetup.tipsFontSize,
}, },
}; };
this.options.tooltip = tooltip; this.options.tooltip = tooltip;

Loading…
Cancel
Save