Skip to content

Commit

Permalink
fix: else if
Browse files Browse the repository at this point in the history
  • Loading branch information
siteng.xst committed May 13, 2020
1 parent fa5d1f2 commit 71df18e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/choose-image/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 71df18e

Please sign in to comment.