mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
7 lines
171 B
JavaScript
7 lines
171 B
JavaScript
![]() |
export default [{
|
||
|
title: '是否手机号',
|
||
|
rule: /^((13[0-9])|(15[^4,\D])|(18[0-9]))\d{8}$/,
|
||
|
}, {
|
||
|
title: '只能输入大写字母',
|
||
|
rule: /^[A-Z]+$/,
|
||
|
}];
|