kazupon / vue-validator

:white_check_mark: Validator component for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

xiyangjun opened this issue · comments

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

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

我也遇到了,怎么破 @kazupon

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

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