pushHistory();
       window.addEventListener("popstate", function(e) {
             //alert("我监听到了浏览器的返回按钮事件啦");//根据自己的需求实现自己的功能
             window.location = '/m/jfscapp/views/product/product_exchange.html';
           }, false);
           function pushHistory() {
             var state = {
               title: "title",
               url: "#"
             };
             window.history.pushState(state, "title", "#");
           }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-03-04
  • 2022-12-23
  • 2021-08-08
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-15
相关资源
相似解决方案