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

Bug: 当添加路由但是没有路由对应的文件时,出现错误! #4270

Closed
5 tasks done
JianGuoHt opened this issue Aug 29, 2024 · 0 comments · Fixed by #4567
Closed
5 tasks done

Bug: 当添加路由但是没有路由对应的文件时,出现错误! #4270

JianGuoHt opened this issue Aug 29, 2024 · 0 comments · Fixed by #4567
Assignees
Labels
enhancement New feature or request

Comments

@JianGuoHt
Copy link

Version

Vben Admin V5

Describe the bug?

动态路由、当后端返回的路由在前端页面中不存在实际的文件时

当添加路由但是没有路由对应的文件时,出现错误!
image

建议添加一个专属与当前的一个展示组件、或者直接返回 undefined

Reproduction

image

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
    Memory: 11.37 GB / 31.91 GB
  Binaries:
    Node: 20.16.0 - C:\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.8.1 - C:\nodejs\npm.CMD
    pnpm: 9.6.0 - ~\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Relevant log output

No response

Validations

@vince292007 vince292007 added the enhancement New feature or request label Aug 30, 2024
@likui628 likui628 added bug Something isn't working and removed bug: pending triage labels Sep 5, 2024
@likui628 likui628 self-assigned this Sep 5, 2024
@likui628 likui628 removed the bug Something isn't working label Sep 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
3 participants