change openaiSB balance

This commit is contained in:
quzard 2023-06-12 15:22:22 +08:00 committed by GitHub
parent d5091492bf
commit f2c238dd54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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