Skip to content

Commit 2dde9b1

Browse files
committed
wechat login add config
1 parent 1e24665 commit 2dde9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/login/comonents/WechatLogin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const WechatLogin: React.FC<WechatLoginProps> = ({ handleLoginSuccess }) => {
6363
case 'scanned':
6464
setLoginStatus('scanned');
6565
break;
66-
case 'confirmed':
66+
case 'success':
6767
// 登录成功
6868
handleLoginSuccess(data.data.token);
6969
if (pollingRef.current) {

0 commit comments

Comments
 (0)