Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

使用validator情况下调用$destroy() 抛错 #338

Closed
xiyangjun opened this issue Nov 7, 2016 · 5 comments
Closed

使用validator情况下调用$destroy() 抛错 #338

xiyangjun opened this issue Nov 7, 2016 · 5 comments

Comments

@xiyangjun
Copy link

vue & vue-validator version

2.0.3, 3.0.0-alpha.1

按照你的示例https://github.com/vuejs/vue-validator/blob/dev/examples/started/index.html

vue实例化后,调用vm.$destroy()方法后会抛出以下错误。

Uncaught TypeError: this._validityWatchers[name] is not a function(…)

image

@kazupon
Copy link
Owner

kazupon commented Nov 7, 2016

Thanks for your feedback.
I'll try to fix until official release, at the latest.

@yuanzm
Copy link

yuanzm commented Nov 14, 2016

@kazupon +1

@chengchengcs
Copy link

我也遇到了,怎么破 @kazupon

@chuangker
Copy link

chuangker commented Nov 21, 2016

+1, 有没有临时解决方案。切换路由就报错 @kazupon

@DearVikki
Copy link

DearVikki commented Nov 21, 2016

+1, 我也是切换路由后就报一样的错了!!但是若刷新一遍就完好无误。

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

No branches or pull requests

6 participants