From: Stanislav Lashmanov Date: Mon, 7 Oct 2019 14:56:24 +0000 (+0300) Subject: fix(runtime-dom/events): fix wrong scope for event value (#117) X-Git-Tag: v3.0.0-alpha.0~569 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d5c12b63a2e920fae0f49ba2f056ac1c157087e;p=thirdparty%2Fvuejs%2Fcore.git fix(runtime-dom/events): fix wrong scope for event value (#117) --- diff --git a/packages/runtime-dom/src/modules/events.ts b/packages/runtime-dom/src/modules/events.ts index a6fb086a63..0fb180c816 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(