We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
用户登录成功之后,每次点击路由都进行了角色的判断; 每次路由切换都要 请求接口拉取用户信息,会不会体验不好,浪费宽带, 登录拉取一次用户信息,根据roles生成可访问路由表缓存起来就可以了会不会更好一点
The text was updated successfully, but these errors were encountered:
用户登录成功之后,会给角色信息roles赋值;第二次点击路由时,roles已经有值了,就不会再去请求接口拉取用户信息。
Sorry, something went wrong.
大佬麻烦看下这个问题 #22
大佬,请问一下那个路由表由后台生成怎么处理
No branches or pull requests
用户登录成功之后,每次点击路由都进行了角色的判断;
每次路由切换都要 请求接口拉取用户信息,会不会体验不好,浪费宽带,
登录拉取一次用户信息,根据roles生成可访问路由表缓存起来就可以了会不会更好一点
The text was updated successfully, but these errors were encountered: