-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Open
Description
Bug report(问题描述)
当权限不足的用户,进入页面时,无法区分权限不足还是因为路径错误导致的 404
Steps to reproduce(问题复现步骤)
- 正常运行前端项目,登录并进入系统
- 更改用户角色为edit
- 尝试进入 需要admin角色的页面,结果进入404页面
正常处理
更改用户角色后,尝试未授权页面,应提示未授权,进入错误路径时可提示 404
Link to minimal reproduction(最小可在线还原demo)
Other relevant information(格外信息)
- Your OS: mac
- Node.js version:
- vue-element-admin version: all version
xxkiko, liangshuangshun4 and ShuqingYe1997
Metadata
Metadata
Assignees
Labels
No labels