From c81b2f6682de864fbd0fd8674e2d5fff9a2c9b8a Mon Sep 17 00:00:00 2001
From: heimawl <1785969728@qq.com>
Date: 星期四, 20 七月 2023 16:37:19 +0800
Subject: [PATCH] 11

---
 src/views/sfstatistics/Voicedetail/index.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/views/sfstatistics/Voicedetail/index.vue b/src/views/sfstatistics/Voicedetail/index.vue
index 6fd8502..0ffbe56 100644
--- a/src/views/sfstatistics/Voicedetail/index.vue
+++ b/src/views/sfstatistics/Voicedetail/index.vue
@@ -163,6 +163,7 @@
   },
 
   methods: {
+    // 楗煎浘
     fucazChartsInit() {
       var fucazCharts = echarts.init(this.fucazCharts);
       console.log(fucazCharts);
@@ -187,6 +188,10 @@
             },
             label: {
               show: false,
+              formatter(param) {
+                // correct the percentage
+                return param.name + " (" + param.percent * 2 + "%)";
+              },
               position: "center",
             },
             emphasis: {

--
Gitblit v1.9.3