fix lint issues

This commit is contained in:
Mutasem 2021-08-09 21:40:57 +02:00
parent e35e6d40a5
commit c0e614f000

View file

@ -17,6 +17,7 @@ export const showMessage = mixins(externalHooks).extend({
},
$showWarning(title: string, message: string, config?: {onClick?: () => void, duration?: number, customClass?: string, closeOnClick?: boolean}) {
// eslint-disable-next-line prefer-const
let notification: ElNotificationComponent;
if (config && config.closeOnClick) {
const cb = config.onClick;