Today JS test on these two statements found when written back, especially when the page there are some parameters, with history.go (-2) is not very accurate, so a lot of trouble.
Reproduced in: https: //www.cnblogs.com/Tylerwang/archive/2012/05/04/2482570.html