# 基本 - order: 0 最简单的用法。 --- ````jsx import { TreeSelect } from 'antd'; const TreeNode = TreeSelect.TreeNode; const Demo = React.createClass({ getInitialState() { return { value: 'leaf1', }; }, onChange(e) { let value; if (e.target) { value = e.target.value; } else { value = e; } this.setState({value}); }, render() { return (

Single Select

sss} key="random3" />
); }, }); ReactDOM.render( , document.getElementById('components-tree-select-demo-basic')); ````