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

plugin-layout和plugin-access一起使用时刷新权限不会更新菜单 #110

Closed
BySlin opened this issue Mar 18, 2020 · 0 comments
Closed
Assignees

Comments

@BySlin
Copy link

BySlin commented Mar 18, 2020

通过initialState的refresh刷新权限

const { refresh } = useModel('@@initialState');
refresh()

初始权限为

{}

刷新之后的权限为

{
  canRead: true
}

菜单不会更新

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