fix(会员充值): 套餐卡不再重复触发下单回调

- PlatformProfileRechargeModal/index.tsx:去掉套餐卡外层 div 的 onClick,点击 CTA 时不再因事件冒泡触发两次 openMembershipCheckout

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
2026-10-03 14:58:18 +08:00
parent bfd96a7c25
commit 5f31c8c9df
@@ -1375,14 +1375,7 @@ export function PlatformProfileRechargeModal({
submittingProductId ===
resolveMembershipProductId(plan.plan, cycleKind);
return (
<div
key={plan.plan}
onClick={
action.disabled
? undefined
: () => openMembershipCheckout(plan)
}
>
<div key={plan.plan}>
<PlatformMembershipPlanCard
plan={plan}
cycleKind={cycleKind}