The route rolls back when it is first loaded 路由回退 #2147
Unanswered
pocketChao
asked this question in
Help and Questions
Replies: 2 comments
-
我也遇到同样的问题,我使用的是qusar vite,插眼👀 |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://www.cnblogs.com/LannyChung/p/17082865.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vue version
3.3.4
Link to minimal reproduction
项目代码比较多 最小复现链接暂时无法提供
Steps to reproduce
当我用vite+vue3搭建一个项目的时候 在我每次启动服务的时候 跳转到某个页面都会闪一下然后回退到当前的页面 ,之后再进去就没有问题了 我很困惑不知道是什么导致了这个情况
const router = createRouter({
// history: createWebHashHistory(import.meta.env.BASE_URL),
history: createWebHashHistory(),
What is expected?
希望可以正常跳转
What is actually happening?
我不知道发生了什么 我想问问有人遇到相同的问题吗 这对我们的项目产生了严重的影响
System Info
No response
Any additional comments?
No response
Beta Was this translation helpful? Give feedback.
All reactions