解决饼图数据为零时均分的问题

main
wuyize 2022-07-14 20:51:16 +08:00
parent 4e547e43b6
commit 96bc233a65
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ export default {
methods: {
//
getOption() {
//
let option = {
tooltip: {
@ -63,6 +64,7 @@ export default {
{
name: '统计',
type: 'pie',
stillShowZeroSum: false,
center: ['45%', '55%'],
// radius: ['40%', '70%'],
avoidLabelOverlap: false,