diff --git a/src/pages/index/ContactSection.tsx b/src/pages/index/ContactSection.tsx index 7887f38..a418e22 100644 --- a/src/pages/index/ContactSection.tsx +++ b/src/pages/index/ContactSection.tsx @@ -95,7 +95,7 @@ const ContactSection: React.FC = () => { success: (_) => { // 用户已登录,跳转到聊天页面 Taro.navigateTo({ - url: '/pages/user/chat/index', + url: '/pages/user/chat/conversation/index', success: () => { console.log('跳转到聊天页面成功') }, @@ -118,7 +118,7 @@ const ContactSection: React.FC = () => { success: (loginRes) => { if (loginRes.confirm) { Taro.navigateTo({ - url: '/pages/user/login/index', + url: '/pages/passport/login', fail: (err) => { console.error('跳转到登录页失败:', err) Taro.showToast({