From 2514759949fde74dc499afaadb33806beec6447d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 3 Oct 2026 17:28:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=85=85=E7=82=B9=E5=BC=B9=E7=AA=97):=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=8A=A5=E4=BB=B7=E6=8C=89=E7=9B=AE=E6=A0=87?= =?UTF-8?q?=E6=A1=A3=E4=BD=8D=E4=B8=8E=E8=B4=A6=E6=9C=9F=E5=8F=8C=E9=87=8D?= =?UTF-8?q?=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - PlatformProfileRechargeModal 的 quoteForTarget 同时校验 targetPlan 与 cycleKind,账期不一致的陈旧报价按“暂无报价”处理,避免展示错误金额并解锁下单。 --- .../src/components/PlatformProfileRechargeModal/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/shared/src/components/PlatformProfileRechargeModal/index.tsx b/packages/shared/src/components/PlatformProfileRechargeModal/index.tsx index 9c920eea9..8443044e1 100644 --- a/packages/shared/src/components/PlatformProfileRechargeModal/index.tsx +++ b/packages/shared/src/components/PlatformProfileRechargeModal/index.tsx @@ -928,7 +928,10 @@ function PlatformRechargeCheckoutDialog({ const productId = resolveMembershipProductId(target.plan, target.cycleKind); const submitting = submittingProductId === productId; const quoteForTarget = - isUpgrade && membershipQuote && membershipQuote.targetPlan === target.plan + isUpgrade && + membershipQuote && + membershipQuote.targetPlan === target.plan && + membershipQuote.cycleKind === target.cycleKind ? membershipQuote : null; const amountCents = quoteForTarget