From bdda1859741153fe8f04076f61778778991f4606 Mon Sep 17 00:00:00 2001
From: tangjinzhou <415800467@qq.com>
Date: Wed, 6 Mar 2019 10:51:52 +0800
Subject: [PATCH] fix: message support function bug #554
---
components/message/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,