wx.chooseImage({
count: 1, //图片张数
sizeType: ['compressed'], //图片的尺寸
sourceType: [lint], //['album', 'camera'] 否 选择图片的来源
success: (res) => { //接口调用成功的回调函数
console.log(res)
// loading加载
wx.showLoading({
title: 'AI生成中',
})
安卓和电脑测试能通过,IOS上传较大图片或是拍照出现max data size 错误
看看是不是这个问题