304 not modified 缓存问题解决

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

this.$http.get('./api/ratings?t='+ (new Date()).getTime().toString())
原文地址:https://www.cnblogs.com/zhoujx1066/p/6655397.html