优化发布页默认输入与在线时间校验
This commit is contained in:
@@ -92,6 +92,9 @@ function normalizeDraftForm(value: unknown): PublishForm {
|
||||
if (!next.accelerated_sale_ratio || next.accelerated_sale_ratio === 0) {
|
||||
next.accelerated_sale_ratio = ''
|
||||
}
|
||||
if (next.haf_coin_amount === 0) next.haf_coin_amount = ''
|
||||
if (String(next.secret_kd).trim() === '0') next.secret_kd = ''
|
||||
if (next.fire_level === 0) next.fire_level = ''
|
||||
return next
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user