1.优化后台样式

2.改版并对接新版数据统计页面
This commit is contained in:
gyq
2024-09-12 08:53:44 +08:00
parent a81c8b8352
commit 24d6a192b1
24 changed files with 1837 additions and 204 deletions

View File

@@ -423,7 +423,7 @@ export function isPcBowser() {
* decimal你保留的几位,默认保留小数后两位
* isInt 是否保留0
*/
export function formatDecimal(num, decimal = 2, isInt = false) {
export function formatDecimal(num = 0, decimal = 2, isInt = false) {
num = num.toFixed(3).toString();
const index = num.indexOf(".");
if (index !== -1) {