--- order: 0 title: 基本 --- 最简单的用法。 ````jsx import { TreeSelect } from 'antd'; const TreeNode = TreeSelect.TreeNode; const Demo = React.createClass({ getInitialState() { return { value: '', }; }, onChange(value) { console.log(arguments); this.setState({ value }); }, render() { return ( sss} key="random3" /> ); }, }); ReactDOM.render(, mountNode); ````