变更:VIP等级手续费精确小数后3位
This commit is contained in:
parent
b0c8ce8c4f
commit
fb74c20607
@ -47,6 +47,7 @@
|
|||||||
"eslint-plugin-oxlint": "~1.42.0",
|
"eslint-plugin-oxlint": "~1.42.0",
|
||||||
"eslint-plugin-playwright": "^2.5.1",
|
"eslint-plugin-playwright": "^2.5.1",
|
||||||
"eslint-plugin-vue": "~10.7.0",
|
"eslint-plugin-vue": "~10.7.0",
|
||||||
|
"fancy-canvas": "^2.1.0",
|
||||||
"jiti": "^2.6.1",
|
"jiti": "^2.6.1",
|
||||||
"jsdom": "^27.4.0",
|
"jsdom": "^27.4.0",
|
||||||
"npm-run-all2": "^8.0.4",
|
"npm-run-all2": "^8.0.4",
|
||||||
|
|||||||
5762
pnpm-lock.yaml
generated
Normal file
5762
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -105,7 +105,7 @@ function resolveVipLevel(user: Record<string, unknown>): number {
|
|||||||
*/
|
*/
|
||||||
function formatTradingFee(rate: number): string {
|
function formatTradingFee(rate: number): string {
|
||||||
if (!Number.isFinite(rate)) return '--'
|
if (!Number.isFinite(rate)) return '--'
|
||||||
return `${(rate / 10000).toFixed(2)}%`
|
return `${(rate / 10000).toFixed(3)}%`
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 与接口 needDeposit / accumulated 同一套口径:大额按 USDC 6 位小数,否则按美元数值 */
|
/** 与接口 needDeposit / accumulated 同一套口径:大额按 USDC 6 位小数,否则按美元数值 */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user