mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
Tree: not highlight tree node when currentKey is null (#15668)
This commit is contained in:
@@ -331,6 +331,7 @@ export default class TreeStore {
|
||||
|
||||
setCurrentNodeKey(key) {
|
||||
if (key === null) {
|
||||
this.currentNode.isCurrent = false;
|
||||
this.currentNode = null;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user