Skip to content

Commit

Permalink
fix(rn): toast API 错误回调
Browse files Browse the repository at this point in the history
  • Loading branch information
Pines-Cheng committed Jun 2, 2019
1 parent bebacd9 commit 43ce8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-rn/src/api/interface/toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function showToast (options) {
return successHandler(success, complete)(res)
} catch (e) {
res.errMsg = `showToast:fail invalid ${e}`
return errorHandler(success, complete)(res)
return errorHandler(fail, complete)(res)
}
}

Expand Down

0 comments on commit 43ce8f9

Please sign in to comment.