Commit 2652a485 by ethanlamzs

自动展开对应的树节点 和 对应的优化

1 parent ed67f1a0
...@@ -359,6 +359,8 @@ export default class schoolmgr extends Component{ ...@@ -359,6 +359,8 @@ export default class schoolmgr extends Component{
<div><span>可以展开</span></div> <div><span>可以展开</span></div>
<Tree <Tree
checkable checkable
showLine
defaultExpandedKeys={['1','10000']}
loadData={this.onLoadData} loadData={this.onLoadData}
onCheck={this.onCheck} onCheck={this.onCheck}
checkedKeys={this.state.checkedKeys} checkedKeys={this.state.checkedKeys}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!