Эх сурвалжийг харах

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

Inside 6 жил өмнө
parent
commit
cead2a8be3

+ 1 - 0
packages/tree/src/model/tree-store.js

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