mirror of
https://github.com/touwaeriol/sub2apipay.git
synced 2026-09-01 14:50:28 +08:00
style: prettier 格式修复
This commit is contained in:
@@ -94,7 +94,8 @@ export default function PaymentForm({
|
||||
const methodSingleMax = methodLimits?.[effectivePaymentType]?.singleMax;
|
||||
const methodSingleMin = methodLimits?.[effectivePaymentType]?.singleMin;
|
||||
const effectiveMax = methodSingleMax !== undefined && methodSingleMax > 0 ? methodSingleMax : maxAmount;
|
||||
const effectiveMin = methodSingleMin !== undefined && methodSingleMin > 0 ? Math.max(methodSingleMin, minAmount) : minAmount;
|
||||
const effectiveMin =
|
||||
methodSingleMin !== undefined && methodSingleMin > 0 ? Math.max(methodSingleMin, minAmount) : minAmount;
|
||||
const feeRate = methodLimits?.[effectivePaymentType]?.feeRate ?? 0;
|
||||
const feeAmount = feeRate > 0 && selectedAmount > 0 ? Math.ceil(((selectedAmount * feeRate) / 100) * 100) / 100 : 0;
|
||||
const payAmount =
|
||||
|
||||
Reference in New Issue
Block a user