diff --git a/packages/choose-image/src/index.ts b/packages/choose-image/src/index.ts index 61f42cae..e87ae8e6 100755 --- a/packages/choose-image/src/index.ts +++ b/packages/choose-image/src/index.ts @@ -15,13 +15,9 @@ if (isWeb) { chooseImage = weexModule; } else if (isMiniApp) { chooseImage = miniAppModule; -} - -if (isByteDanceMicroApp) { +} else if (isByteDanceMicroApp) { chooseImage = bytedanceModule; -} - -if (isWeChatMiniprogram) { +} else if (isWeChatMiniprogram) { chooseImage = weChatModule; }