Skip to content

Commit

Permalink
fix: message support function bug #554
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 6, 2019
1 parent 4a31fd3 commit bdda185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/message/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function notice(args) {
) : (
''
)}
<span>{typeof content === 'function' ? args.content(h) : args.content}</span>
<span>{typeof args.content === 'function' ? args.content(h) : args.content}</span>
</div>
),
onClose: callback,
Expand Down

0 comments on commit bdda185

Please sign in to comment.