`which` is deprecated use `code` instead
parent
2159c3cc88
commit
b38f4072f1
|
@ -163,7 +163,7 @@ export default {
|
||||||
return node.leaf === false ? false : !(node.children && node.children.length);
|
return node.leaf === false ? false : !(node.children && node.children.length);
|
||||||
},
|
},
|
||||||
onFilterKeydown(event) {
|
onFilterKeydown(event) {
|
||||||
if (event.which === 13) {
|
if (event.code === 'Enter') {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue