在img标签中添加事件

onClick = "this.src = this.src + '?' +Math.random()"

保证请求的url每次不一样,避免浏览器缓存,每次请求都是新的请求

相关文章: