fix: 🐛 提交parseInt导致的bug

This commit is contained in:
lemon橪
2022-10-03 12:47:03 +08:00
parent 1225a41de4
commit 3c7d940ba8
11 changed files with 11 additions and 11 deletions

View File

@@ -63,7 +63,7 @@ export default {
if (typeof val == "undefined") {
return val;
}
return parseInt(val).toFixed(2).split(".");
return Number(val).toFixed(2).split(".");
},
handleClick(item) {
uni.navigateTo({