问题:webview 缓存了index.html页面;浏览器缓存了子页面。
解决方案:网页链接后添加时间戳。

第一:避免webView缓存】
在service.vue中,给url后边添加时间戳

第二:避免浏览器缓存
在index.html页,使用js给所有不需要缓存的a标签添加时间戳(用js修改a标签的href属性)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-12-05
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案