From 012c13c49a3be63dbc45a3c195841452a7e1d645 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Tue, 4 Nov 2025 10:29:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95=E5=90=8E=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改 iframe 显示条件,仅在 WAITING 状态时显示 iframe, 当状态变更为 SCANNED/AUTHORIZED 时立即移除 iframe, 防止微信页面执行父页面跳转操作。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/components/Auth/WechatRegister.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Auth/WechatRegister.js b/src/components/Auth/WechatRegister.js index 0ae33d19..b5d221e1 100644 --- a/src/components/Auth/WechatRegister.js +++ b/src/components/Auth/WechatRegister.js @@ -501,7 +501,7 @@ export default function WechatRegister() { bg="gray.50" boxShadow="sm" // ✅ 添加轻微阴影 > - {wechatStatus !== WECHAT_STATUS.NONE ? ( + {wechatStatus === WECHAT_STATUS.WAITING ? ( /* 已获取二维码:显示iframe */