for example, I wrote
const fn = () = > {
this / / in test.js how to get this this to get the vue object?
}
export default fn
then in the vue file
import test from "test"
test.fn.bind (this) ()
but what if the this in fn is not a pointing vue object?