update message

This commit is contained in:
Aresn 2017-05-31 16:14:25 +08:00
parent e0bd31a64c
commit a50a847ca5

View file

@ -29,11 +29,6 @@ function getMessageInstance () {
} }
function notice (content = '', duration = defaultDuration, type, onClose = function () {}, closable = false) { function notice (content = '', duration = defaultDuration, type, onClose = function () {}, closable = false) {
if (!onClose) {
onClose = function () {
};
}
const iconType = iconTypes[type]; const iconType = iconTypes[type];
// if loading // if loading