Skip to content

Commit

Permalink
fix: name
Browse files Browse the repository at this point in the history
  • Loading branch information
qianxin.yy committed Apr 27, 2020
1 parent 3008d63 commit 381ae86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/choose-image/src/quickapp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import otherModule from '../index';

let exportModule;

function quickModule (options) {
function chooseImage (options) {
if ( options.sourceType && options.sourceType.indexOf('camera') > -1 ) {
return new Promise(function(resolve, reject) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
Expand Down Expand Up @@ -54,7 +54,7 @@ function quickModule (options) {
}

if (isQuickApp) {
exportModule = quickModule;
exportModule = chooseImage;
} else {
exportModule = otherModule;
}
Expand Down

0 comments on commit 381ae86

Please sign in to comment.