src/utils/filter.js
@@ -15,9 +15,9 @@ number = Math.floor(number * 100) / 100; // 向下取整并保留两位小数 let str = Number(number).toLocaleString(locale, options); console.log('转换后的'+ str) console.log('转换后的' + str) // if (showCurrencySymbol) { // str = str.replaceAll(" ﷼", ""); // str = str.replaceAll(" ", ""); // } return str; }