location.reload()执行刷新当前页面时,在ios手机上正常刷新,在Android手机上无效;
解决方案:
使用window.location.href ,并在url后加时间戳
window.location.href = location.href+'?time='+((new Date()).getTime());(亲测小米5s有效)

相关文章:

  • 2021-11-10
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-02-01
  • 2022-02-12
  • 2021-12-18
相关资源
相似解决方案