wechat login add config

This commit is contained in:
hobby
2025-08-28 20:27:22 +08:00
parent 1e246658fa
commit 2dde9b15e9

View File

@@ -63,7 +63,7 @@ const WechatLogin: React.FC<WechatLoginProps> = ({ handleLoginSuccess }) => {
case 'scanned': case 'scanned':
setLoginStatus('scanned'); setLoginStatus('scanned');
break; break;
case 'confirmed': case 'success':
// 登录成功 // 登录成功
handleLoginSuccess(data.data.token); handleLoginSuccess(data.data.token);
if (pollingRef.current) { if (pollingRef.current) {