diff --git a/packages/runtime-dom/src/modules/events.ts b/packages/runtime-dom/src/modules/events.ts index a6fb086a6..0fb180c81 100644 --- a/packages/runtime-dom/src/modules/events.ts +++ b/packages/runtime-dom/src/modules/events.ts @@ -72,6 +72,7 @@ function createInvoker(value: any, instance: ComponentInternalInstance | null) { // AFTER it was attached. if (e.timeStamp >= invoker.lastUpdated) { const args = [e] + const value = invoker.value if (isArray(value)) { for (let i = 0; i < value.length; i++) { callWithAsyncErrorHandling(