Skip to content
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

v-vuerify-next里的问题 #14

Open
JimChenWYU opened this issue Jan 20, 2017 · 4 comments
Open

v-vuerify-next里的问题 #14

JimChenWYU opened this issue Jan 20, 2017 · 4 comments

Comments

@JimChenWYU
Copy link

由于v-vuerify-next好像没有github地址,所以只能在这里提issues

v-vuerify-next的:vuerify.common.js 大概在78行

unbind: function unbind(el) {
   el.removeEventListener('blur');
   el.removeEventListener('focus');
}

查了MDN文档, EventTarget.removeEventListener需要两个参数的,当我子路由采用懒加载打包后跑项目就会报错

错误如下:

TypeError: Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 1 present.
at unbind (vuerify.common.js:79)
at callHook$1 (vue.common.js:4689)
at _update (vue.common.js:4654)
at updateDirectives (vue.common.js:4596)
at Array.unbindDirectives (vue.common.js:4590)
at invokeDestroyHook (vue.common.js:4241)
at invokeDestroyHook (vue.common.js:4245)
at VueComponent.patch [as patch] (vue.common.js:4507)
at VueComponent.Vue.$destroy (vue.common.js:2602)
at destroy$1 (vue.common.js:2813)

@Pixel-Daze
Copy link

image
遇到了同样的报错,自己现在vuerify.common.js里面做了修改,作者应该会给出解决方案

@htmlxudong
Copy link

six six six,thanks

@24min
Copy link

24min commented Nov 6, 2019

作者已经停更了吗。。。

@reynold-Yang
Copy link

作者已经停更了吗。。。

很久没见更新了,不过我根据坐着的代码,做了一些修改,感觉还是很不错的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants