From 6fad4ee4875f7672779b0cb664fcae0a1cff272b Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Thu, 19 Mar 2026 19:47:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8E=BB=E6=8E=89=E5=8A=A0=E4=BB=93?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E6=9C=80=E5=B0=8F=E9=87=91=E9=A2=9D=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/TradeModal.jsx | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/app/components/TradeModal.jsx b/app/components/TradeModal.jsx index 024d26b..da3105e 100644 --- a/app/components/TradeModal.jsx +++ b/app/components/TradeModal.jsx @@ -202,7 +202,7 @@ export default function TradeModal({ type, fund, holding, onClose, onConfirm, pe }; const isValid = isBuy - ? (!!amount && !!feeRate && !!date && calcShare !== null && !loadingBuyMeta && (parseFloat(amount) || 0) >= (Number(minBuyAmount) || 0)) + ? (!!amount && !!feeRate && !!date && calcShare !== null && !loadingBuyMeta) : (!!share && !!date); const handleSetShareFraction = (fraction) => { @@ -434,9 +434,7 @@ export default function TradeModal({ type, fund, holding, onClose, onConfirm, pe