Tencent / weui.js

A lightweight javascript library for WeUI.
Other
3.16k stars 927 forks source link

form.validata方法里面没有获取当前表单值的方法么 #83

Closed terminalqo closed 6 years ago

terminalqo commented 7 years ago

只有err参数啊?没有value参数么。。是要自己去设置个方法来双向绑定么。。

BearJ commented 7 years ago

@weishijun14 err里面会返回错误的dom,然后你就可以通过dom.value来获取了~