Skip to content

Commit 722fc5e

Browse files
committed
fix v-on inline statement filter context (fix #1656)
1 parent 1e1b246 commit 722fc5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Directive.prototype._checkStatement = function () {
221221
fn.call(scope, scope)
222222
}
223223
if (this.filters) {
224-
handler = this.vm._applyFilters(handler, null, this.filters)
224+
handler = scope._applyFilters(handler, null, this.filters)
225225
}
226226
this.update(handler)
227227
return true

0 commit comments

Comments
 (0)