-
Notifications
You must be signed in to change notification settings - Fork 169
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
[permission-fe.ts] 前端控制权限的问题 #468
Labels
Permission
Something about permission
Comments
👋 @PAINCLOWN,感谢给 TDesign 提出了 issue。 |
|
PAINCLOWN
changed the title
[组件名称] 前端控制权限的permission-fe.ts问题
[permission-fe.ts] 前端控制权限的问题
Apr 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-vue-next-starter 版本
0.7.3
重现链接
No response
重现步骤
使用前端控制权限的时候
permission-fe.ts文件中的restore() 并不能在路由移除后添加回去
router.addRoute(item)失效,并出现paths should start with a "/": "xxx" should be "/xxx"
我看之前给出的方法是改router.addRoute(parentRouteName, childRoute);传个父路由的名称进去,
即便是改写了
只是消除了paths should start with a "/": "xxx" should be "/xxx"这个报错,但是路由还是没有加回去
期望结果
No response
实际结果
No response
框架版本
3.2.47
浏览器版本
No response
系统版本
win11
Node版本
9.6.4
补充说明
No response
The text was updated successfully, but these errors were encountered: