mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
fix: router fix
This commit is contained in:
@@ -86,7 +86,7 @@ const router = useRouter()
|
||||
const login = async () => {
|
||||
// 先模拟一下数据
|
||||
localStorage.setItem('token','afewfewf')
|
||||
await router.push('/chat')
|
||||
await router.push('/main')
|
||||
console.log('登录')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user