Answer the question
In order to leave comments, you need to log in
How to handle the instance method, the data data of the child component?
Can you please tell me how to process the data of a child component using the instance method? I have a certain number of components in which the same method is often repeated, and unfortunately there is no way to combine them, since they should work differently, and I think how can I not copy-paste the same thing, (I have thoughts to use global functions, and pass certain attributes to them, and then just call them in a method), but there may be a more elegant solution.
Answer the question
In order to leave comments, you need to log in
as an option to take out the handler separately and use mixins
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question