选择多张图片卡顿
发布于 5 年前 作者 jinjun 12291 次浏览 来自 问答
wx.chooseImage({  count: 1,  sizeType: ['original', 'compressed'],  sourceType: ['album', 'camera'],

 success(res) {    // tempFilePath可以作为img标签的src属性显示图片

    返回压缩以及未压缩图片链接

   const tempFilePaths = res.tempFilePaths  } })
4 回复

是的,我同时选择9张原图显示卡顿

wx.chooseImage({  count: 9,  sizeType: ['original'],  sourceType: ['album', 'camera'],

 success(res) {    // tempFilePath可以作为img标签的src属性显示图片

    返回压缩以及未压缩图片链接

   const tempFilePaths = res.tempFilePaths  }

})


这种

后面用image循环显示

可以录制个视频看下怎么操作的不?

麻烦提供出现问题的机型和微信版本,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

你这只是选择一张图片啊,count  是控制选择多少图片的,最多9张

回到顶部