Browse Source

fix 线上线下为百分比

1711193168@qq.com 5 years ago
parent
commit
e0eac58928
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/index/components/income/index.vue

+ 3 - 2
src/views/index/components/income/index.vue

@@ -2,7 +2,7 @@
  * @Author: WangQiBiao
  * @Date: 2019-09-26 10:57:30
  * @LastEditors: mozhuangru
- * @LastEditTime: 2019-10-11 16:24:41
+ * @LastEditTime: 2019-10-12 15:57:25
  * @Description: 收入统计
  -->
 <template>
@@ -76,7 +76,8 @@ export default {
             center: ['50%', '50%'],
             label: {
               normal: {
-                formatter: '{b|{b}}\n{c}',
+                // formatter: '{b|{b}}\n{c}',
+                formatter: '{per|{d}%}',
                 fontSize: 10,
                 lineHeight: 14,
                 rich: {