mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
docs: fix TreeSelect demo onChange log (#45722)
Co-authored-by: 伐宿 <fasu@uni-ubi.com>
This commit is contained in:
parent
c3a63a9927
commit
261ba8fe1d
@ -44,7 +44,7 @@ const App: React.FC = () => {
|
||||
const [value, setValue] = useState(['0-0-0']);
|
||||
|
||||
const onChange = (newValue: string[]) => {
|
||||
console.log('onChange ', value);
|
||||
console.log('onChange ', newValue);
|
||||
setValue(newValue);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user