-
Notifications
You must be signed in to change notification settings - Fork 160
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
登陆后菜单加载/展示不全 #223
Comments
检查 getinfo 接口的永久缓存。
以及env 的超管id 是否和你数据库超管id一致
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年4月13日(周六) 下午2:50
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: Re: [mineadmin/MineAdmin-Vue] superAdmin登录进去,菜单只有首页 (Issue mineadmin/MineAdmin#223)
_20240413144612.png (view on web) _20240413144637.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
如果是重复登录的情况。右上角清除缓存再刷新页面试一下
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年4月13日(周六) 下午2:50
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: Re: [mineadmin/MineAdmin-Vue] superAdmin登录进去,菜单只有首页 (Issue mineadmin/MineAdmin#223)
_20240413144612.png (view on web) _20240413144637.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
解决了,谢谢 |
role 是超管角色id,你是新系统安装成功 role id 和数据库就不一致吗?
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年6月1日(周六) 晚上8:52
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [mineadmin/MineAdmin] 登陆后菜单加载/展示不全 (Issue #223)
请问下怎么解决的?已经清过 getinfo 接口的永久缓存以及检查env 的超管id 和你数据库超管id是一致的 @hhw2444 @zds-s
以为ADMIN_ROLE 是超管ID,翻了源码,才发现是SUPER_ADMIN
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
ADMIN_ROLE 跟数据库里面的ID是一样的,但是源码的判断逻辑,是拿SUPER_ADMIN做判断的,应该是isSuperAdmin方法判断里面少了 ADMIN_ROLE 的判断 SystemUserService.class 文件:
LoginUser.class 文件
|
如题
数据库已配好
The text was updated successfully, but these errors were encountered: