a、使用 location.href:window.location.href =“https://www.baidu.com/”
b、使用location.replace:window.location.replace(" https://www.baidu.com/;");

相关文章:

  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2021-06-09
猜你喜欢
  • 2021-10-13
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
相关资源
相似解决方案