fix: 选中树节点,focusKey一直显示bug

This commit is contained in:
izbz wh 2020-12-02 10:36:24 +08:00
parent 76717eeae2
commit 4a182a93f3
1 changed files with 3 additions and 0 deletions

View File

@ -482,6 +482,9 @@ onExpand(treeNode,keyType) {
selectedKeys,
});
}
this.setState({
focusKey: ''
})
props.onSelect(selectedKeys, newSt);
}