feat(mine): 强制保留两位小数

This commit is contained in:
woody 2025-07-18 11:17:48 +08:00
parent 73f6f1abf1
commit df3779c2db
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {