Answer the question
In order to leave comments, you need to log in
How to correctly use this in mixins when working with a class?
I understand how vuejs works, I try to combine the class and mixins. I want to understand how to use the common data
and func
- functions. When calling the function, it throws an error:
Uncaught TypeError: Cannot read property 'test1' of undefined"
'test1',
it; the function is a nested object, so there is no access to the parent this
. How to fix it? Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question