kazupon / vue-validator

:white_check_mark: Validator component for Vue.js
MIT License
2.19k stars 431 forks source link

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

Closed xiyangjun closed 7 years ago

xiyangjun commented 7 years ago

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 commented 7 years ago

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

yuanzm commented 7 years ago

@kazupon +1

chengchengcs commented 7 years ago

我也遇到了,怎么破 @kazupon

chuangker commented 7 years ago

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

DearVikki commented 7 years ago

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