Problems with the communication of a vue child component to a parent component

clipboard.png

if the child component is used twice on the same page, how does the child component communicate with the parent component?

Feb.28,2021

Child component $emit Custom event, parent component listens for event

one page calls two, so how can you tell who is who?
  

then pass a parameter in emit. You have to make a distinction.

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