diff --git a/.workbuddy/expert-history.json b/.workbuddy/expert-history.json index 007653c..e255710 100644 --- a/.workbuddy/expert-history.json +++ b/.workbuddy/expert-history.json @@ -35,5 +35,5 @@ } ] }, - "lastUpdated": 1775868078061 + "lastUpdated": 1775868406858 } \ No newline at end of file diff --git a/src/passport/qr-confirm/index.tsx b/src/passport/qr-confirm/index.tsx index d342b7d..139294d 100644 --- a/src/passport/qr-confirm/index.tsx +++ b/src/passport/qr-confirm/index.tsx @@ -166,15 +166,10 @@ const QRConfirmPage: React.FC = () => { }); if (res.data.success || res.data.status === 'confirmed') { - Taro.showToast({ title: '登录确认成功', icon: 'success', duration: 2000 }); + Taro.showToast({ title: '登录确认成功', icon: 'success', duration: 1500 }); setTimeout(() => { - Taro.showModal({ - title: '登录成功', - content: '请回到电脑端刷新页面', - showCancel: false, - confirmText: '我知道了' - }); - }, 2000); + Taro.switchTab({ url: '/pages/user/user' }); + }, 1500); } else { Taro.showToast({ title: res.data.message || '登录确认失败', icon: 'none' }); }