From bbf6d337c9641c0d1bf2c57f05310e59c104990b Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 29 May 2026 15:04:43 +0800
Subject: [PATCH] 1
---
src/utils/index.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/utils/index.js b/src/utils/index.js
index 49b2e1a..b4f1894 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -78,7 +78,6 @@
}
}
-
// 小数展示,保留五位小数
export const formatNumber = (num) => {
if (typeof (num) !== 'number') {
@@ -99,7 +98,6 @@
}
}
-
// 保留五位小数
export const formatNumberToFixedFive = (num) => {
@@ -137,7 +135,6 @@
}
}
-
export const formatMoney = (val) => {
if(val === 0){
return 0
@@ -160,7 +157,6 @@
}
return (val / Math.pow(num, 4)).toFixed(2) + "T"; //T
}
-
export const formatNews = (str) => {
if(!str) {
--
Gitblit v1.9.3