diff --git a/root/home/components/AiApply.vue b/root/home/components/AiApply.vue index dde30ab..eb78fc3 100644 --- a/root/home/components/AiApply.vue +++ b/root/home/components/AiApply.vue @@ -92,7 +92,7 @@ export default { uni.chooseImage({ count: 1, //默认9 sizeType: ['original'], //可以指定是原图还是压缩图,默认二者都有 - sourceType: $sourceType, //album 从相册选图,camera 使用相机 + sourceType: [$sourceType], //album 从相册选图,camera 使用相机 success: function (res) { console.log('选取文件数据:', res) that.uploadCozeFile(res.tempFilePaths[0])