`which` is deprecated use `code` instead

pull/4414/head
Tuğçe Küçükoğlu 2023-09-08 12:53:02 +03:00
parent 2159c3cc88
commit b38f4072f1
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ export default {
return node.leaf === false ? false : !(node.children && node.children.length);
},
onFilterKeydown(event) {
if (event.which === 13) {
if (event.code === 'Enter') {
event.preventDefault();
}
},