diff --git a/src/pages/login/comonents/WechatLogin.tsx b/src/pages/login/comonents/WechatLogin.tsx index d6e8103..f9426f7 100644 --- a/src/pages/login/comonents/WechatLogin.tsx +++ b/src/pages/login/comonents/WechatLogin.tsx @@ -63,7 +63,7 @@ const WechatLogin: React.FC = ({ handleLoginSuccess }) => { case 'scanned': setLoginStatus('scanned'); break; - case 'confirmed': + case 'success': // 登录成功 handleLoginSuccess(data.data.token); if (pollingRef.current) {