【TreeSelect】ant-design 组件库中树选择,父区域控制子区域,子区域不受父区域控制
import{TreeSelect}from'antd';import{difference}from'lodash';const{SHOW_ALL}=TreeSelect;constDemo:React.FC=()=>{//区域列表定义初始化const[dataAreaList,setDataArea]=useState();//选中区域const[valueArea,setValueArea]