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

2.0版本二级菜单的BUG #23

Closed
rainggo opened this issue Apr 23, 2019 · 3 comments
Closed

2.0版本二级菜单的BUG #23

rainggo opened this issue Apr 23, 2019 · 3 comments

Comments

@rainggo
Copy link

rainggo commented Apr 23, 2019

如下图,在1.2版本中,通过修改前端的限制后可以创建二级菜单,而功能选择是正常的。
image

在2.0版本中,创建了二级菜单后,因为此处长度相同而导致无法选择二级菜单
image

@rainggo
Copy link
Author

rainggo commented Apr 23, 2019

通过对比新旧代码发现,1.2版本中使用的是level_code作为key,而二级菜单的level_code会比上一级的多2位。
而在2.0版本中,改用了record_id,而record_id是使用的uuid,长度是相同的,导致选择二级菜单后,菜单栏会出现没有选择任何菜单的情况

image

@LyricTian
Copy link
Owner

LyricTian commented Apr 24, 2019

嗯,该bug已经在新版本中修复,请查看:
https://github.com/LyricTian/gin-admin-react

@rainggo
Copy link
Author

rainggo commented Apr 24, 2019

已经解决了,谢谢

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

No branches or pull requests

2 participants