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

minLen maxLen验证出现bug #181

Open
huishoubuzai opened this issue Jul 11, 2022 · 0 comments
Open

minLen maxLen验证出现bug #181

huishoubuzai opened this issue Jul 11, 2022 · 0 comments

Comments

@huishoubuzai
Copy link

minLen maxLen验证出现bug
当列属性 dataType为int或float,validations 包含 minLen maxLen
代码在
else if ("minLen" == h) o = a(o), p = a(p), o.length >= p && (u = !0);
else if ("maxLen" == h) o = a(o), p = a(p), o.length <= p && (u = !0);
o.length 值是 undefiend
验证不会成功
我的处理是
(o+'').length
版本V3.5.1

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

No branches or pull requests

1 participant