微信预览 wx.previewImage能不能预览项目中图片,开发者工具一直转圈加载,真机调试正常?
wx.previewImage({
//当前显示图片
current:this.data.urls[index],
//所有图片
urls: this.data.urls,
success:function(){
console.log("加载成功:");
}
})
urls:['/image/icons/icon_img_04_10_01.png','/image/icons/icon_img_04_10_02.png']