瀏覽代碼

修改数据

unknown 1 年之前
父節點
當前提交
97b42d93b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      investment/js/investHome2.js

+ 1 - 1
investment/js/investHome2.js

@@ -3644,7 +3644,7 @@ let app = new Vue({
                   },
                   formatter: function(e){
                       //console.log(this)
-                      let num = chartData[this.colorIndex].x
+                      let num = chartData[this.colorIndex].num
                       this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
                       return `${this.key}:<b>${this.percentage}%</b><br/><b>${this.y}</b>亿,<b>${num}个</b>`
                   },