-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目正常启动,但是控制台报addEventListener未定义 #2
Comments
我这边反复去校验并未复现,你这是项目一打开就出现吗 |
启动项目后报的错,偶发性的,有时候没有,很奇怪。ServiceWorkerUpdatePopup.vue中addEventListener未定义 |
这几天比较忙 忙完了这阵 我会继续更新的 到时候 把你遇到的这个问题给处理了 |
|
根据更新修改service-worker.js文件,还是报同样的错误,请问是什么问题呢 |
TypeError: Cannot read property 'addEventListener' of undefined
at VueComponent.created (ServiceWorkerUpdatePopup.vue?beb0:16)
at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854)
at callHook (vue.runtime.esm.js?2b0e:4219)
at VueComponent.Vue._init (vue.runtime.esm.js?2b0e:5008)
at new VueComponent (vue.runtime.esm.js?2b0e:5154)
at createComponentInstanceForVnode (vue.runtime.esm.js?2b0e:3283)
at init (vue.runtime.esm.js?2b0e:3114)
at createComponent (vue.runtime.esm.js?2b0e:5978)
at createElm (vue.runtime.esm.js?2b0e:5925)
at createChildren (vue.runtime.esm.js?2b0e:6053)
The text was updated successfully, but these errors were encountered: