解决这种问题方法很简单,只需在url后面拼接一个时间戳就行了。示例代码如下:

this.$http.get('./api/ratings?t='+ (new Date()).getTime().toString())

 

相关文章:

  • 2022-01-01
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2021-07-01
  • 2022-12-23
  • 2021-08-08
相关资源
相似解决方案