QingWei-Li / vuerify

🚩Validation plugin for Vue.js

Home Page:https://cinwell.com/vuerify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

this.$vuerify.$errors 有bug...

lylezhan opened this issue · comments

首先在password密码框输入1, 然后删除1, password Error显示提示信息.
接着在Account文本框输入1, 然后删除1, 这时 this.$vuerify.$errors.account数组里会出现 password 的提示信息.

使用的是 "vuerify": "^0.4.0" 版本

以下是代码、结果截图和源码文件
default
default

测试代码 代码.txt

很简单,每次验证前
this.$vuerify.clear()
清空下,这样错误提示就不会乱了