8***@qq.com
8***@qq.com
  • 发布:2022-04-07 10:14
  • 更新:2022-04-07 10:14
  • 阅读:240

拍照后确定时崩了

分类:uni-app
mui

uni.chooseImage({
// count: 4, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['camera'],
success: (res) => {
const _tempFilePaths = res.tempFilePaths;
if (this.imgList.length != 0) {
this.imgList = this.imgList.concat(_tempFilePaths)
} else {
this.imgList = _tempFilePaths
}
},
error: function(e) {

                }  
            });  

调用摄像机拍照

2022-04-07 10:14 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复