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

骨架屏在消失后依然会去请求数据,这个期间依旧会出现白屏 #78

Open
lengyue0909 opened this issue Apr 16, 2019 · 0 comments

Comments

@lengyue0909
Copy link

骨架屏在消失后依然会去请求数据,这个期间依旧会出现白屏,当然我并不觉得是骨架屏自身的问题,骨架屏只是用来作为加载静态资源时期的过渡,但是请问有没有什么方法能够比较好的解决这个问题,我也想过请求放在路由钩子函数中,但是也会付出一定的代价,比如页面中有多个请求,已经完成一部分,却依旧要等到其他请求完毕后才能显示完整内容,我看配置中需要配置路由,请问有没有组件级别的方案?另外骨架屏HTML模板可以通过配置自动生成吗?

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

1 participant