This repository has been archived by the owner. It is now read-only.

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

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

Comments

Projects
None yet
6 participants
@xiyangjun

xiyangjun commented Nov 7, 2016

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

This comment has been minimized.

Owner

kazupon commented Nov 7, 2016

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

@kazupon kazupon added bug 3.0 labels Nov 7, 2016

@yuanzm

This comment has been minimized.

yuanzm commented Nov 14, 2016

@chengchengcs

This comment has been minimized.

chengchengcs commented Nov 16, 2016

我也遇到了,怎么破 @kazupon

@chuangker

This comment has been minimized.

chuangker commented Nov 21, 2016

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

@DearVikki

This comment has been minimized.

DearVikki commented Nov 21, 2016

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

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