docs: fix TreeSelect demo onChange log (#45722)

Co-authored-by: 伐宿 <fasu@uni-ubi.com>
This commit is contained in:
faruxue 2023-11-08 16:40:25 +08:00 committed by GitHub
parent c3a63a9927
commit 261ba8fe1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
};