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