diff --git a/components/message/index.js b/components/message/index.js index ad50a89c0..0e6816e6e 100644 --- a/components/message/index.js +++ b/components/message/index.js @@ -74,7 +74,7 @@ function notice(args) { ) : ( '' )} - {typeof content === 'function' ? args.content(h) : args.content} + {typeof args.content === 'function' ? args.content(h) : args.content} ), onClose: callback,