🎨 add eslint
This commit is contained in:
parent
829a2e4cfc
commit
b0893113b3
88 changed files with 376 additions and 370 deletions
|
@ -32,7 +32,7 @@ function notice (content, duration = defaultDuration, type, onClose) {
|
|||
if (!onClose) {
|
||||
onClose = function () {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
const iconType = iconTypes[type];
|
||||
|
||||
|
@ -61,7 +61,7 @@ function notice (content, duration = defaultDuration, type, onClose) {
|
|||
|
||||
return function () {
|
||||
instance.remove(`${prefixKey}${target}`);
|
||||
}
|
||||
};
|
||||
})();
|
||||
}
|
||||
|
||||
|
@ -94,4 +94,4 @@ export default {
|
|||
messageInstance = null;
|
||||
instance.destroy();
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue