瀏覽代碼

修改数据

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

+ 1 - 1
investment/js/investHome2.js

@@ -3663,7 +3663,7 @@ let app = new Vue({
                       enabled: true,  // 是否展示指示线
                       formatter: function(point) {
                           console.log(point, this)
-                          let num = chartData[this.colorIndex].x
+                          let num = chartData[this.colorIndex].num
                           this.percentage = this.percentage.toFixed(2)
                           return `${this.key}:${this.percentage}%<br/>${this.y}亿,${num}个`
                           } //''