Commit 6af7eaf7 authored by 刘怀志's avatar 刘怀志

修改问题

parent 19d8400f
......@@ -397,6 +397,8 @@ export function moneyFormat(data) {
let temp = parseFloat(data)
if (!isNaN(temp)){
result = temp
}else{
return '-'
}
}
return result.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment