there is a plug-in written by native js: springy.js , which uses the window object.
the traditional script tag is introduced to automatically pass in window objects.
but how do you do this under vue?
spring.js plugin format:

this:
is introduced in the traditional way, the this points to the window object, so the window object will be used normally.
but under vue, this will be undefined .
excuse me, is there any good solution?

