h5调 wx.chooseImage 选择图片后页面跳转到首页?
部分手机没有问题,就华为p10,一加手机会发生跳转 wx.chooseImage({ count: 1, sizeType: ['compressed'], sourceType: ['camera'], success: function (res) { var singleIma = res.localIds[0]; wx.getLocalImgData({ localId: singleIma, success: function (res) { }, fail: function(res) { } }); }