ios 调用wx.chooseImage没有反应.没有报错,没有提示
发布于 7 年前 作者 taowei 7466 次浏览 来自 问答

 相册选取

albumSel() {

var that = this;

wx.chooseImage({

count: 1,

sourceType: “album”,

success: function(res) {

var path = res.tempFilePaths[0];

that.setData({

imgPath: path

})

这是js代码,安卓没有问题,ios就没有反应了

3 回复

楼主 找到原因了吗? 同样的接口在android没有问题

谢谢.问题解决了.这个好坑啊

你加个 fail 方法呢,看走不走

回到顶部