Vue2.0 has a child component that updates the interface to the parent component

I remember there was such a update, but I couldn"t find update on the official website-- what is that api?

Mar.18,2021

https://cn.vuejs.org/v2/api/-sharp.

this is the life cycle of Vue . You can trigger the function to update in the beforeUpdate cycle.


you're talking about beforeUpdate and updated?.


updated is also a lifecycle hook function of Vuejs, indicating that when the data changes, it triggers the hook function to update the data


if you want the child component to be manipulated, the parent component responds to this operation to update the data, then the child component reports the event

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