From 7b11eff0b6f1705d6df8de2d35b76315ed626dc8 Mon Sep 17 00:00:00 2001 From: Dewyzee Date: Mon, 18 Feb 2019 21:18:31 +0800 Subject: [PATCH] resolve iterator eventbind problem --- src/platforms/mp/runtime/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/mp/runtime/events.js b/src/platforms/mp/runtime/events.js index 10fc63cf..8edeb8ef 100644 --- a/src/platforms/mp/runtime/events.js +++ b/src/platforms/mp/runtime/events.js @@ -10,7 +10,7 @@ function getVM (vm, comkeys = []) { for (let i = 0; i < len; i++) { const v = res.$children[i] const k = getComKey(v) - if (k === key) { + if (k === keys.join(KEY_SEP)) { res = v return res }