Tree: not highlight tree node when currentKey is null (#15668)

pull/16185/head
Inside 2019-06-04 10:27:52 +08:00 committed by island205
parent b1dd1e8a80
commit cead2a8be3
1 changed files with 1 additions and 0 deletions

View File

@ -331,6 +331,7 @@ export default class TreeStore {
setCurrentNodeKey(key) {
if (key === null) {
this.currentNode.isCurrent = false;
this.currentNode = null;
return;
}