-
Notifications
You must be signed in to change notification settings - Fork 177
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
[BUG] 3.x按钮分配了权限,但是不显示 #515
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! 感谢您在这里反馈第一个问题!请务必遵循问题模板! |
Hello, @Darknesser! I'm here to help with your bug. I'm a bot that can assist you with bug fixes, answer questions, and guide you on becoming a contributor. Let's tackle this bug together! 按钮类型 ('B') 在菜单中不显示是因为 To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
菜单里排除了 ps:你的版本还处在rc,尽快升级到正式版吧 |
执行命令并粘贴以下结果。
Command:
uname -a && php -v && composer info | grep mine && php --ri swoole
bug描述:
接口返回的菜单是对的,代码定位到这个方法,
item.meta?.type !== 'B'
,直接排除了按钮类型,没理解重现步骤:
admin/permission/menus接口响应数据如下
The text was updated successfully, but these errors were encountered: