From 1bf2dec917badce4d5bdfa545fa6ca88ad378680 Mon Sep 17 00:00:00 2001 From: dengjun Date: Fri, 17 Nov 2023 15:52:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dengjun --- interfaces/kits/picker/picker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/picker/picker.js b/interfaces/kits/picker/picker.js index 6b1177c3..9a8c9df1 100644 --- a/interfaces/kits/picker/picker.js +++ b/interfaces/kits/picker/picker.js @@ -156,7 +156,7 @@ function getPhotoPickerSelectResult(args) { let isOrigin = args.want.parameters.isOriginal; selectResult.data = new PhotoSelectResult(uris, isOrigin); } - } else if (result.resultCode === -1) { + } else if (args.resultCode === -1) { selectResult.data = new PhotoSelectResult([], undefined); } else { selectResult.error = getErr(ErrCode.RESULT_ERROR); -- Gitee