瀏覽代碼

feat: 优化总充值金额

xiansin 2 年之前
父節點
當前提交
2089dcf4df
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/app/Admin/Metrics/Recharge.php

+ 1 - 1
server/app/Admin/Metrics/Recharge.php

@@ -82,7 +82,7 @@ class Recharge extends Round
             \round($goldPercent*100, 2)
             \round($goldPercent*100, 2)
         ];
         ];
         $this->withChart($data);
         $this->withChart($data);
-        $this->chartTotal($this->labels[0], $this->totalRecharge);
+        $this->chartTotal('总充值金额', $this->totalRecharge);
     }
     }