From 6b19436f81f953c4a1be2087b8d47113755087c4 Mon Sep 17 00:00:00 2001 From: skyline0705 Date: Sat, 21 Nov 2015 01:02:53 +0800 Subject: [PATCH] fix an event propagate bug --- src/api/events.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/events.js b/src/api/events.js index 98a147264ae..7391e90c540 100644 --- a/src/api/events.js +++ b/src/api/events.js @@ -98,6 +98,8 @@ exports.$emit = function (event) { var res = cbs[i].apply(this, args) if (res === true) { this._shouldPropagate = true + } else { + this._shouldPropagate = false } } }