8000 return return vaule in key filter wrapper · hwclass/vue@c4550f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4550f7

Browse files
committed
return return vaule in key filter wrapper
1 parent d2cf1de commit c4550f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ filters.key = function (handler, key) {
8686
}
8787
return function (e) {
8888
if (e.keyCode === code) {
89-
handler.call(this, e)
89+
return handler.call(this, e)
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)
0