How do vue child components replace parent component arrays

how is it convenient to replace the whole child component of the array passed by the parent component?

Mar.20,2021

use computed? Do not quite understand what you mean


detailed description of the problem, do not understand what you said


Synchronize do not need to worry about;
Asynchronous is generally used: watch, less computed, or $on+$emit


can it be understood that the child component updates the value passed by the parent component and then returns and replaces the original value of the parent component? if so, you can use $emit () to pass the value

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