The vue $emit parent method returns the child method after execution

components
clipboard.png

clipboard.png

clipboard.png

topic description

sources of topics and their own ideas

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?

Dec.06,2021

I don't know how do you write the trigger code for the parent component of that this method is not valid?
the idea is correct. Passing an anonymous function triggering at an appropriate time is the best solution to this requirement

Menu