为什么__checkUpdateSetup__ 可以成功的挂载在window上? #58
Unanswered
ChaseWindYoungs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在源码的 core 文件夹中的 injectScript.ts 里,checkUpdateSetup 刚定义好之后,就将该方法挂载在window上,但是这个项目是个插件项目,并且是在rollup中使用,我在项目中,自定义了一个本地的插件,在生命周期中写了一些挂载window的属性的测试都是失败的,可以说明一下这里的原理吗
Beta Was this translation helpful? Give feedback.
All reactions