2
李凌
2025-10-12 4b9c7e96534f4b5f093fcd085bb066412efcacc7
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) {