qinxianzhangyao
2024-04-25 74a7a2bbef241a023110ff24c8e7c84025e267f5
src/views/index.vue
@@ -231,6 +231,9 @@
                type: 'pie',
                radius: ['16%', '54%'],
                center: ["50%", "43%"],
                avoidLabelOveralap:false,
                startAngle:180,
                minAngle:10,
                data: this.PieChart,
                emphasis: {
                  itemStyle: {
@@ -283,6 +286,9 @@
                type: 'pie',
                radius: ['16%', '54%'],
                center: ["50%", "43%"],
                avoidLabelOveralap:false,
                startAngle:180,
                minAngle:10,
                data: this.PieChart2,
                emphasis: {
                  itemStyle: {
@@ -296,10 +302,10 @@
        }
        window.onresize = function () {
          myChart2.resize()
          myChart3.resize()
        }
        // window.onresize = function () {
        //   myChart2.resize()
        //   myChart3.resize()
        // }
        this.loading = false;
      });