完善测试建表并统一前端格式

This commit is contained in:
yml2213
2026-07-14 01:32:14 +08:00
parent 2efcede800
commit 2ca6fd9306
36 changed files with 714 additions and 478 deletions
+3 -1
View File
@@ -161,7 +161,9 @@ export function readFinalSaleRatio(
export function hasAcceleratedSaleRatioInput(value: number | '' | null | undefined) {
const ratio = Number(value)
return value !== '' && value !== null && value !== undefined && Number.isFinite(ratio) && ratio > 0
return (
value !== '' && value !== null && value !== undefined && Number.isFinite(ratio) && ratio > 0
)
}
export function calculatePlatformPricing(options: {