-
Notifications
You must be signed in to change notification settings - Fork 52
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
你好。我这有个问题就是登录之后点击导航跳转到页面 都是空白页这是什么问题 #5
Comments
@yangjiashengYJS 这是路由的问题,登录之后,系统根据当前用户的角色生成路由,这中间有一段延迟时间。因为路由还未完全生成,所以点击导航栏之后会出现空白,我调整了几次延迟时间,但还是会出现这个问题,目前解决方法是多刷新几次,代码在/router/index.js中。 |
但是我访问本地服务器的时候就没有问题 , 如果是后台连接远程数据库 点击跳转页面就是空白页 |
@fellow-me 还有一个问题是我登录过期了,刷新页面就是会空白 不会跳转到登录页 |
@yangjiashengYJS 在/utils/request.js中,我只设置了当员工状态异常,才强制退出登录。之前设想的是当token过期时,显示404页面,但一直没成功。 |
@yangjiashengYJS 问题已经解决 |
如题
The text was updated successfully, but these errors were encountered: