angular.js - ui-router returns the previous route
给我你的怀抱
给我你的怀抱 2017-05-15 17:12:29
0
1
913

ui-router returns the previous route
window.history.go(-1); or window.history.back(); is not easy to use and returns the wrong result

给我你的怀抱
给我你的怀抱

reply all(1)
PHPzhong

Describe in detail why it is not easy to use, what are the bugs and what problems have occurred?
Normal ui-route returns to the previous page. There is no problem.
history.go(-1) This method is equivalent to clicking on the browser to return to the previous page. Page button

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