What is the issue : When you navigate to http://localhost/students, you will see list of students as shown below Click on any stude ...
What is the issue : When you navigate to http://localhost/students, you will see list of students as shown below Click on any student name. For example when you click on Mark, you will see mark details and the URL in the address bar is http://localhost/students/1At this point if you refresh the page by pressing CTRL + F5 or CTRL + R, the student details disappear and the page will be renedered as shown below. To see the errors, launch the Browser Developer Tools by pressing F12. To fix this issue all you have to do is place the <base href="http://www.cnblogs.com//"> element just below the<title> element in the head section of index.html page.
原标题:Part 31 AngularJS page refresh problem
关键词:JS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。