如题,解决方案如下:
Have you by any chance configured your $locationProvider to html5Mode? If yes this would cause your problems. You could force it to always go to the url by adding target="_self" to your tag. Give it a shot.
你已经改变配置了你的 $locationProvider(特性有:hashPrefix、html5Mode) 为 html5Mode。如果这会造成你的问题。你可能不得不经常去的URL添加目标=“_self”您的标签。给它一个机会。
I had configured to use HTML5 so adding the target="_self" to the tag fixed the problem. Still researching why this works.
我已配置为使用HTML5添加目标=“_self”标签的固定的问题。还研究为何如此。
-----------------------------------------------------------------------------------------------------