fix(会员报价): 切换账号时清理报价状态
- usePlatformProfileCenterController.ts:账号生命周期重置时清空 membershipQuote / loading / error 并作废未完成报价令牌,避免上一个账号的报价串到新账号 Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
@@ -568,6 +568,10 @@ export function usePlatformProfileCenterController({
|
||||
setWechatRechargeOrderConfirmationState(null);
|
||||
setNativeWechatPayment(null);
|
||||
setSubmittingRechargeProductId(null);
|
||||
setMembershipQuote(null);
|
||||
setIsLoadingMembershipQuote(false);
|
||||
setMembershipQuoteError(null);
|
||||
membershipQuoteRequestRef.current = null;
|
||||
setIsWalletLedgerOpen(false);
|
||||
setWalletLedger(null);
|
||||
setWalletLedgerError(null);
|
||||
|
||||
Reference in New Issue
Block a user