wx.chooseImage使用闪退 ios 12.1系统 iphone6
发布于 5 年前 作者 pinglei 10545 次浏览 来自 问答

/**选择图片**/

serChooseImage: function (e) {

let that = this;

wx.chooseImage({

count: 1,

sizeType: [‘compressed’],

sourceType: [e.currentTarget.dataset.sourcetype],

success: function (res) {

let tempFilePaths = res.tempFilePaths[0];

wx.navigateTo({

url: ‘…/search_image/search_image?img=’ + tempFilePaths,

})

}

})

},

在两部iphone6测试,另一部ios12.0毫无问题,而12.1在选择完图片点确定之后直接闪退,奇怪的是在上周三测试并无出现

该问题

2 回复

选择的的iCloud的图片?

拍照camera并无问题,就是选择图片album就会有

回到顶部