var loc = document.location.toString().split('#')[0];
    document.location = loc + '#' + anchor;

 

相关文章:

  • 2021-09-08
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
猜你喜欢
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-11-19
  • 2021-12-03
  • 2022-12-23
相关资源
相似解决方案