diff --git a/src/index.js b/src/index.js index d0ce53b..643c616 100644 --- a/src/index.js +++ b/src/index.js @@ -24,7 +24,7 @@ const Plugin = { _setDynamicContainer (dynamicContainer) { Plugin.dynamicContainer = dynamicContainer }, - show (modal, paramsOrProps, params, events = null) { + show (modal, paramsOrProps, params, events = {}) { if (typeof modal === 'string') { Plugin.event.$emit('toggle', modal, true, paramsOrProps) } else {