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

.
Menu