Commit 9d7cd4ab authored by leon's avatar leon

fix: fix images bug

parent 75ca4cc3
...@@ -74,7 +74,8 @@ ...@@ -74,7 +74,8 @@
} = that.elementData.dataList } = that.elementData.dataList
var urls = [] var urls = []
var caches = uni.getStorageSync('cacheImages') var caches = uni.getStorageSync('cacheImages')
if(images && image.length) { console.log("images")
if(images && images.length) {
images.forEach(url => { images.forEach(url => {
if (caches.hasOwnProperty(url)) { if (caches.hasOwnProperty(url)) {
urls.push(caches[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