Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

首次启动后浏览器卡在loading不动 #572

Open
smzgl opened this issue Dec 11, 2024 · 2 comments
Open

首次启动后浏览器卡在loading不动 #572

smzgl opened this issue Dec 11, 2024 · 2 comments

Comments

@smzgl
Copy link

smzgl commented Dec 11, 2024

按照网站步骤:

  1. git clone https://github.com/kailong321200875/vue-element-plus-admin.git
  2. cd vue-element-plus-admin
  3. pnpm i
  4. pnpm run dev

浏览器卡在loading页, 没有登录页, 也进不到首页.

@smzgl
Copy link
Author

smzgl commented Dec 11, 2024

原因是 src/router/index.ts中 'Redirect' 路由项重名了.

@xiaozhi-cn
Copy link

src-->router --> index.ts ,有两个 【name: 'Redirect'】 ,修改 children 中的【name: 'Redirect',】,改成不一样的就行,如改为 name: 'Redirect-children',即可解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants