-2
删除#从网址使用问题在删除#中的URL在angularjs
$ locationProvider.html5Mode(true);
并显示错误
[$位置:nobase将] http://errors.angularjs.org/1.5.6/ $位置/ nobase将
删除#从网址使用问题在删除#中的URL在angularjs
$ locationProvider.html5Mode(true);
并显示错误
[$位置:nobase将] http://errors.angularjs.org/1.5.6/ $位置/ nobase将
好像你忘了提及基地HTML文档。 $在HTML5模式下的位置需要标签出席!查看文档https://docs.angularjs.org/error/ $ location/nobase
<base href="/">