Please v-for n child components in the parent component. The parent component can only receive the value passed by the first child component.

ask: v-for n child components in the parent component, and there is a value in the
child component. Pass the value value $emit to the parent component.
Why can the parent component only receive the value of the first child component, and why can"t the value, of
other child components receive it

?
Feb.27,2021

how do you receive


Why can't you accept it, how do you write it? The parent component can also receive


directly add the code, otherwise no one knows the details


emit with index and value, otherwise the parent component does not know which child component sent it

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