Skip to content

[vue] ElementUI是怎么做表单验证的?在循环里对每个input验证怎么做呢? #402

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

Open
haizhilin2013 opened this issue Jun 20, 2019 · 2 comments
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] ElementUI是怎么做表单验证的?在循环里对每个input验证怎么做呢?

@haizhilin2013 haizhilin2013 added the vue vue label Jun 20, 2019
@tagore-cai
Copy link

model 绑定表单数据 通过prop 取表单数值,根据rule取form-item rules 或则rules[prop]校验

@Jackyjk
Copy link

Jackyjk commented Mar 9, 2020

model 绑定表单数据,通过prop取表单数值,通过编写ref进行后台API验证 ,根据rules进行表单内容验证

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue vue
Projects
None yet
Development

No branches or pull requests

3 participants