您的位置:首页 > TAG > 返回

欢迎您来到LeafCMS

返回
  • 1、history.go() 最常用的一种方法,可以返回、前进任意一步的页面、回到上一页 // 回到上一页 window.history.go(-1); // 回到下一页 window.history.go(1); // 回到任意一页 widnow.history.go(+前进几页)   2、history.back() back() 方法可加载历史列表中的前一个 URL(如果存在)。 调用该方法的效果等价于点击后退按钮或调用 history.go(-1)。 // 回到上一页 hist
    2025-09-261363
嘿,我来帮您!