wechat login add config
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user