Commit 8e915f05 by 张杰

修改图片组件

1 parent 68d0eedd
......@@ -30,7 +30,7 @@ Component({
let src = this.data.src
let prefix = IMG_URL
this.setData({
imagePath: `${prefix}${src}` + IMG_VERSION()
imagePath: `${prefix}${src}?v=` + IMG_VERSION()
})
},
// 在组件实例被从页面节点树移除时执行
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!