如题所述,什么原因导致的……而且都获取到了CSS,存在了缓存里。
现在发现只有主页里链接的子页面,也就是第一个被刷新的局部页面在第一次刷新时可以得到正常的显示。那么问题来了,怎么强制刷新子页面?或者怎么在路由里对其它页面进行刷新?
欢迎选择我的课程,让我们一起见证您的进步~~
Locate new problems and solutions:
How to refresh the entire page in angular?
Whether the css is referenced on the child page or the parent page, check the path
Don’t worry, owner, check if the css is not loaded, try introducing css on the template page~~~
Locate new problems and solutions:
How to refresh the entire page in angular?
Whether the css is referenced on the child page or the parent page, check the path
Don’t worry, owner, check if the css is not loaded, try introducing css on the template page~~~