How to execute the method of obtaining data in the component after Mini Program page refresh monitoring

I passed a refresh status value to the component on the page. If the page is refreshed, the component receives the refresh status value, but how does the component perform the refresh defined in methods after receiving it?

Apr.05,2021

I also encountered the same question


found another way to implement it, that is, the method of executing the child component directly in the parent component, but not in the child component.
see https://www.cnblogs.com/beile.


the same question. The data is updated after the page is refreshed, but the data in the component is not updated, so it is not updated and displayed

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