mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-18 09:24:07 +00:00
fix: fix OpenAI-SB balance not correct
This commit is contained in:
@@ -29,7 +29,7 @@ function renderType(type) {
|
|||||||
|
|
||||||
function renderBalance(type, balance) {
|
function renderBalance(type, balance) {
|
||||||
if (type === 5) {
|
if (type === 5) {
|
||||||
return <span>{balance.toFixed(2)}</span>
|
return <span>¥{(balance / 10000).toFixed(2)}</span>
|
||||||
}
|
}
|
||||||
return <span>${balance.toFixed(2)}</span>
|
return <span>${balance.toFixed(2)}</span>
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user