mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-19 08:55:53 +08:00
fix: 🐛 提交parseInt导致的bug
This commit is contained in:
@@ -376,7 +376,7 @@ export default {
|
||||
if (typeof val == "undefined") {
|
||||
return val;
|
||||
}
|
||||
return parseInt(val).toFixed(2).split(".");
|
||||
return Number(val).toFixed(2).split(".");
|
||||
},
|
||||
|
||||
// 展示更多数据
|
||||
|
||||
Reference in New Issue
Block a user