Problems with lazy loading and editing of react cascade components

1. The Cascader cascade selector component of antd is adopted, and the regional lazy loading mode (province > city > district > county)
2. When you need to edit a region, because the data is lazily loaded, if the data of the district or county has not been loaded, only the first-level address is displayed when it is returned to Cascader (the first-level data is loaded by default)

related codes

   
there is only first-level data when the form is reflected

Feb.24,2022

try displayRender


Hello is there a good solution to this problem? ask for help

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-1ea8583-6963c.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-1ea8583-6963c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?