diff --git a/packages/taro-platform-harmony-hybrid/src/api/apis/media/image/chooseImage.ts b/packages/taro-platform-harmony-hybrid/src/api/apis/media/image/chooseImage.ts index d4b5140afb12..1f2bbf35c852 100644 --- a/packages/taro-platform-harmony-hybrid/src/api/apis/media/image/chooseImage.ts +++ b/packages/taro-platform-harmony-hybrid/src/api/apis/media/image/chooseImage.ts @@ -57,7 +57,7 @@ export const chooseImage: typeof Taro.chooseImage = async (options) => { } return new Promise((resolve, reject) => { - native.chooseMediaAssets({ + native.chooseMediumAssets({ count: count, mediaType: mediaType, sourceType: sourceSelected, diff --git a/packages/taro-platform-harmony-hybrid/src/api/apis/media/video/chooseVideo.ts b/packages/taro-platform-harmony-hybrid/src/api/apis/media/video/chooseVideo.ts index 854ec58b64a9..289aa5659df2 100644 --- a/packages/taro-platform-harmony-hybrid/src/api/apis/media/video/chooseVideo.ts +++ b/packages/taro-platform-harmony-hybrid/src/api/apis/media/video/chooseVideo.ts @@ -65,7 +65,7 @@ export const chooseVideo: typeof Taro.chooseVideo = async (options) => { return new Promise((resolve, reject) => { // @ts-ignore - native.chooseMediaAssets({ + native.chooseMediumAssets({ count: 1, sizeType: sizeType, mediaType: mediaType,