takePhoto () {
let _this = this;
wx.createCameraContext().takePhoto({
success: function (res) {
console.log(res);
_this.setData({ tempPath: res.tempImagePath });
}
});
},
返回的res中height为116,width为720,height由什么决定?
微信小程序开发者回答:
黄***:
一般由预览区域决定,请问是什么机型?
韩***:
苹果机型图片的高度都只有一半,只有预览区域的一半!请问这是什么原因
黄***:
问题已修复,麻烦更新微信到6.5.21
宝***:系统记录
本文网址:http://www.91bianli.com/weixinxiaochengxu/27548.html