angular.js - How to force refresh subpages in angular? Or how to refresh other pages in the route?
天蓬老师
天蓬老师 2017-05-15 16:52:21
0
3
637

Original problem: After angular uses the routing configuration page, the CSS of the subpage becomes invalid

As mentioned in the title, what caused it... and the CSS was obtained and stored in the cache.

Now we find that only the subpages linked in the homepage, that is, the first refreshed partial page, can be displayed normally when refreshed for the first time. So the question is, how to force refresh the subpage? Or how to refresh other pages in the route?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
刘奇

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

Peter_Zhu

Don’t worry, owner, check if the css is not loaded, try introducing css on the template page~~~

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template