feat(mine): 强制保留两位小数
This commit is contained in:
parent
73f6f1abf1
commit
df3779c2db
|
@ -650,7 +650,7 @@ export default {
|
||||||
return '500+'
|
return '500+'
|
||||||
}
|
}
|
||||||
const valueInWan = num / 10000
|
const valueInWan = num / 10000
|
||||||
return `${Math.floor(valueInWan * 100) / 100}`
|
return `${(Math.floor(valueInWan * 100) / 100).toFixed(2)}`
|
||||||
},
|
},
|
||||||
getMemberBalance() {
|
getMemberBalance() {
|
||||||
getMemberBalance().then(res => {
|
getMemberBalance().then(res => {
|
||||||
|
|
Loading…
Reference in New Issue