The vue child component passes a value to the parent component

problem description

my page consists of two components. The above display is a component, and the button below is a component. After I select the location of the box above, how to transfer the selected data to the parent component. Use

when you click on a refund

clipboard.png

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Apr.08,2022

the child component passes


to the parent component through $emit. You can't know the implementation details just by looking at the screenshot, so you can't give a specific solution

.
Menu