A scene in which dva processes data

now there are four methods in
effects. ComponentsDidMount requests four methods respectively. After all the methods get the return values, they are stored in store.
where to get the return values of the four requests, where to process the data, or whether the methods in effect should be written together

Jun.11,2021

there is no doubt that you need to use Promise.all in componentsDidMount to get all the data and store it in stroe.

this function of getting all the data and storage can be put into the tool class method

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