Ant design pro turns the route into a back-end direct return

using ant design pro, you want to return all the routing menudata in menu.js to the backend.

clipboard.png

clipboard.png

clipboard.png

clipboard.png
the menu bar is empty. It seems to be due to the problem of asynchronism. How can this place turn asynchrony into Synchronize

Apr.05,2021

has found the reason because the data has not been updated when the component rendering is completed. I changed this.menus = props.menuData; in sildemenu to change state to trigger render update


use this.state.meanu to receive and transmit values. This is the real-time refresh of the page


the weak question menu shows how the routing router.js part is handled

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