l-form表单校验时,复杂点的正则表单式无法使用,校验出错 #1479
Unanswered
LAMPbaiyang
asked this question in
求助
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
举例:二代身份证
reg: ^\d{6}(18|19|20)\d{2}(0\d|10|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$
测试: 正常js验证正常,组件rules设置身份证号pattern无法校验
Beta Was this translation helpful? Give feedback.
All reactions