From 517b4a398d9ca06788366f2c4b94d5d8831af5fc Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Mon, 22 Sep 2025 18:29:30 +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