摘要: { // add to page after all the imgs loaded function loadImg(src) { return new Promise((resolve,reject)=>{ let img = document.createElement('img'); img.src = src; img.onload... 阅读全文
posted @ 2017-10-17 18:28 zhaoxingya 阅读(344) 评论(0) 推荐(0) 编辑