fix(runtime-dom/events): fix wrong scope for event value (#117)
This commit is contained in:
parent
be0303ec7d
commit
6d5c12b63a
@ -72,6 +72,7 @@ function createInvoker(value: any, instance: ComponentInternalInstance | null) {
|
|||||||
// AFTER it was attached.
|
// AFTER it was attached.
|
||||||
if (e.timeStamp >= invoker.lastUpdated) {
|
if (e.timeStamp >= invoker.lastUpdated) {
|
||||||
const args = [e]
|
const args = [e]
|
||||||
|
const value = invoker.value
|
||||||
if (isArray(value)) {
|
if (isArray(value)) {
|
||||||
for (let i = 0; i < value.length; i++) {
|
for (let i = 0; i < value.length; i++) {
|
||||||
callWithAsyncErrorHandling(
|
callWithAsyncErrorHandling(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user