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

[permission-fe.ts] 前端控制权限的问题 #468

Open
PAINCLOWN opened this issue Apr 12, 2023 · 2 comments
Open

[permission-fe.ts] 前端控制权限的问题 #468

PAINCLOWN opened this issue Apr 12, 2023 · 2 comments
Assignees
Labels
Permission Something about permission

Comments

@PAINCLOWN
Copy link

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"这个报错,但是路由还是没有加回去
253c5fd78d7bdded1b9777269c37514

期望结果

No response

实际结果

No response

框架版本

3.2.47

浏览器版本

No response

系统版本

win11

Node版本

9.6.4

补充说明

No response

@github-actions
Copy link

👋 @PAINCLOWN,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link

github-actions bot commented Apr 12, 2023

♥️ 有劳 @PengYYYYY 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @PAINCLOWN

@PAINCLOWN PAINCLOWN changed the title [组件名称] 前端控制权限的permission-fe.ts问题 [permission-fe.ts] 前端控制权限的问题 Apr 12, 2023
@uyarn uyarn added the Permission Something about permission label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Permission Something about permission
Projects
None yet
Development

No branches or pull requests

3 participants