Commit 9d7cd4ab authored by leon's avatar leon

fix: fix images bug

parent 75ca4cc3
......@@ -74,7 +74,8 @@
} = that.elementData.dataList
var urls = []
var caches = uni.getStorageSync('cacheImages')
if(images && image.length) {
console.log("images")
if(images && images.length) {
images.forEach(url => {
if (caches.hasOwnProperty(url)) {
urls.push(caches[url])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment