cube-ui icon indicating copy to clipboard operation
cube-ui copied to clipboard

Validator 校验器 type = 'tel' 时16开头的手机号不能通过校验?

Open G-c-chen opened this issue 6 years ago • 2 comments

Validator 校验器 type = 'tel' 时16开头的手机号不能通过校验?

G-c-chen avatar Sep 20 '19 09:09 G-c-chen

之前校验规则太细了,着急的话 可以先自己通过addType的方式覆写掉tel的规则先

dolymood avatar Sep 21 '19 05:09 dolymood

之前校验规则太细了,着急的话 可以先自己通过addType的方式覆写掉tel的规则先

已通过 custom 自定义验证函数解决

G-c-chen avatar Sep 24 '19 06:09 G-c-chen