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

@@ -460,7 +460,7 @@ export default {
if (typeof val == "undefined") {
return val;
}
return parseInt(val).toFixed(2).split(".");
return Number(val).toFixed(2).split(".");
},
//发票回调 选择发票之后刷新购物车
async callbackInvoice(val) {