MCPcopy Create free account
hub / github.com/ElemeFE/element-react / setCurrentNodeKey

Method setCurrentNodeKey

src/tree/model/tree-store.js:294–299  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

292 }
293
294 setCurrentNodeKey(key) {
295 const node = this.getNode(key);
296 if (node) {
297 this.currentNode = node;
298 }
299 }
300}

Callers

nothing calls this directly

Calls 1

getNodeMethod · 0.95

Tested by

no test coverage detected