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

fix🐛: Delete association when deleting menu #335

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

yugu2day
Copy link

如果一个角色对当前要删除的菜单的同级菜单均无权限时,删除该菜单后同时删除对上级菜单的角色菜单对应关系。
否则角色与上级菜单的对应关系会导致前端显示该角色对上级菜单下的所有菜单均有权限。

@wenjianzhang
Copy link
Member

这里的业务处理应该是如果在使用的菜单是不能被删除的。

@wenjianzhang wenjianzhang changed the title fix🐛 :删除菜单时删除关联关系 fix🐛: Delete association when deleting menu Mar 5, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants