mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-19 00:45:54 +08:00
fix: 🐛 修改格式化金额可能会出现的问题
This commit is contained in:
@@ -757,7 +757,7 @@ export default {
|
||||
if (typeof val == "undefined") {
|
||||
return val;
|
||||
}
|
||||
return val.toFixed(2).split(".");
|
||||
return parseInt(val).toFixed(2).split(".");
|
||||
},
|
||||
|
||||
/**选择商品 */
|
||||
|
||||
Reference in New Issue
Block a user