Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复表单验证中 当Input为Number类型的问题 #92

Merged
merged 1 commit into from
Nov 23, 2017
Merged

修复表单验证中 当Input为Number类型的问题 #92

merged 1 commit into from
Nov 23, 2017

Conversation

de1ck
Copy link

@de1ck de1ck commented Nov 23, 2017

  1. 修复表单验证中 当Input 为Number类型时 错误提示的问题 在 descriptor 添加 type: 'number' https://github.com/yiminghe/async-validator
  2. 修复validator.js isMobilePhone 在传入Number类型时浏览器报错的问题 https://github.com/chriso/validator.js
  3. 跟问题1 相对应 将用户的输入值转为 Number 类型 https://cn.vuejs.org/v2/guide/forms.html#number

@doramart doramart merged commit 3c22ed8 into doramart:2.0.2 Nov 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants