选择多张图片卡顿

发布于 7 年前作者 jinjun12465 次浏览最后编辑 7 年前来自 ask
wx.chooseImage({  count: 1,  sizeType: ['original', 'compressed'],  sourceType: ['album', 'camera'],

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

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

   const tempFilePaths = res.tempFilePaths  } })
4 回复
xia65
xia651 楼6 年前

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

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

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

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

   const tempFilePaths = res.tempFilePaths  }

})


这种

后面用image循环显示

fanjuan
fanjuan2 楼6 年前

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

hetao
hetao3 楼6 年前

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

guiying43
guiying434 楼5 年前

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