angular.js - AngularJS配置了$locationProvider.html5Mode 返回上一页直接输出JSON
PHPz
PHPz 2017-05-15 16:58:14
0
2
535

从列表页点击链接进入查看,然后查看返回上一页onclick="history.go(-1)"

直接就输出列表页的JSON

如果不使用html url就没有问题,怎么解决????

PHPz
PHPz

学习是最好的投资!

reply all(2)
迷茫

Use angular ui router and use $state.go

黄舟

It may be a problem with your routing configuration. Post it and take a look. It is recommended not to use angular routing. It is more convenient to use UI-router.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!