fix:photopicker

Signed-off-by: zhouoaoteng <zhouaoteng@huawei.com>
This commit is contained in:
zhouoaoteng 2024-11-16 11:25:01 +08:00
parent e0ca5c9867
commit 54e06a64e3

View File

@ -203,6 +203,10 @@ function getPhotoPickerSelectResult(args) {
if (args.resultCode === 0) {
let uris = args.photoUris;
if (uris === undefined) {
console.log('[picker] Photo uris is undefined');
uris = [];
}
let isOriginal = args.isOriginal;
selectResult.data = new PhotoSelectResult(uris, isOriginal);
} else if (args.resultCode === -1) {