ui-router returns the previous route
window.history.go(-1); or window.history.back(); is not easy to use and returns the wrong result
PHPz2017-05-15 17:14:29
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