fix: router fix

This commit is contained in:
Quicy
2026-01-16 16:20:37 +08:00
parent e406c3326d
commit 8c7d578657
+1 -1
View File
@@ -86,7 +86,7 @@ const router = useRouter()
const login = async () => {
// 先模拟一下数据
localStorage.setItem('token','afewfewf')
await router.push('/chat')
await router.push('/main')
console.log('登录')
}