diff --git a/packages/renderless/src/modal/index.ts b/packages/renderless/src/modal/index.ts index 2266b1ebcc..f23c051b95 100644 --- a/packages/renderless/src/modal/index.ts +++ b/packages/renderless/src/modal/index.ts @@ -207,7 +207,7 @@ export const handleEvent = params.options = options } - emit(type, params, event) + type !== 'close' && emit(type, params, event) events[type] && events[type].call(parent, params) api.close(type) }