fix: 🐛 修改格式化金额可能会出现的问题

This commit is contained in:
学习很差啦
2022-09-30 18:36:21 +08:00
parent d101cd1b6a
commit 1225a41de4
10 changed files with 11 additions and 10 deletions

View File

@@ -43,7 +43,8 @@
if (typeof val == "undefined") {
return val;
}
return val.toFixed(2).split(".");
return parseInt(val).toFixed(2).split(".");
},
// 数据去重一下 只显示一次 减免 劵 什么的