How does antd treeSelect set the parent node not to be selected?

how does antd treeSelect set the parent node not to be selected? Hope that the parent node is only to expand and fold child nodes, can not be selected as the value of the input box, read the document without this configuration, how to do?

Mar.09,2021

did not meet your needs, but you can communicate with
my idea:
1 operate on treeData directly

1treeDatatreeDatadisabledtrue;
2treeCheckStrictly true;

2 can be accessed via onChange or onSelect

 : select;

is there a specific plan and code? Please let me know

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f45c-2c466.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f45c-2c466.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?