From a50a847ca5f6155623d36dcdd7ec7e6d59b36a6d Mon Sep 17 00:00:00 2001 From: Aresn Date: Wed, 31 May 2017 16:14:25 +0800 Subject: [PATCH] update message --- src/components/message/index.js | 5 ----- 1 file changed, 0 insertions(+), 5 deletions(-) diff --git a/src/components/message/index.js b/src/components/message/index.js index 60d012b..70dea76 100644 --- a/src/components/message/index.js +++ b/src/components/message/index.js @@ -29,11 +29,6 @@ function getMessageInstance () { } function notice (content = '', duration = defaultDuration, type, onClose = function () {}, closable = false) { - if (!onClose) { - onClose = function () { - - }; - } const iconType = iconTypes[type]; // if loading -- libgit2 0.21.4