history对象

来源:互联网 发布:公交车gps 大数据分析 编辑:程序博客网 时间:2024/05/18 02:38
1、history对象前进

history.forward()

2、history对象后退

history.back()

3、history对象跳入指定页面

history.go(-1);  //当前页面为0,前进为1后退为-1,等等。

0 0