The element-ui tree component cannot respond to system shortcuts after clicking on the selected node.

for example, if you press F5 to refresh, you cannot respond to

at this time.

Click in the blank and lose focus


this.$el.addEventListener ('keydown', this.handelKeydown) has listening events


it should be a tree selection control that registers the keyup handler

Menu