js -history.back(-1)和history.go(-1) 区别

既然history.back(-1)和history.go(-1)都是返回之前页面,
 
history.back(-1)//直接返回当前页的上一页,,是个新页面
 
history.go(-1)//也是返回当前页的上一页,不过表单里的数据全部还在
https://www.tongbiao.xyz/
原文地址:https://www.cnblogs.com/tongbiao/p/9657637.html