fix: fix OpenAI-SB balance not correct

This commit is contained in:
JustSong 2023-06-12 09:40:49 +08:00
parent 955d5f8707
commit 8b2ef666ef

View File

@ -29,7 +29,7 @@ function renderType(type) {
function renderBalance(type, balance) {
if (type === 5) {
return <span>{balance.toFixed(2)}</span>
return <span>¥{(balance / 10000).toFixed(2)}</span>
}
return <span>${balance.toFixed(2)}</span>
}