Vue single-file component, after import other objects, in the event of that object, this accesses the incoming object instance, not the vue component instance

how to access the data of a vue instance in the event of an import object


1 bind (this)
2, or call back with the arrow function.
3, create a var vm, and write vm = this, when created, so vm can paste the code at any time with


.

Menu