Commit 05ea2f9f authored by Jenny's avatar Jenny

feat: 饼图 tooltip 换行

parent a74052f3
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
color: ['#1089E7', '#F57474', '#56D0E3', '#F8B448', '#8B78F6'], color: ['#1089E7', '#F57474', '#56D0E3', '#F8B448', '#8B78F6'],
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
formatter: '{a}<br/>{b}:{c}({d}%)' formatter: '{a}\n{b}:{c}({d}%)'
}, },
series: this.dealSeriesData(series) series: this.dealSeriesData(series)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment