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

希望NOT FOUND的错误更加友好,清晰看出是组件没启动或者路由错误 #211

Open
Tracked by #118
LordofAvernus opened this issue Mar 15, 2024 · 0 comments
Milestone

Comments

@LordofAvernus
Copy link
Collaborator

LordofAvernus commented Mar 15, 2024

问题

  1. 当组件没启动或者路由错误的情况下,显示的NOT FOUND对用户不够友好
  2. 抛出了前端代码的异常报错
    访问一个 dms 不存在的接口会有这个错误,之前应该是前后端版本不一致的原因
    Image
  3. 报错提示优化
    Image

方案

当前端请求的dms路由错误时候,返回404

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

No branches or pull requests

2 participants