【修改】修改手机正则表达式 调整打包管理 收入合同 支出合同列宽

This commit is contained in:
fengachen
2022-01-19 10:58:13 +08:00
parent df5d8e2e12
commit 8d4d603325
4 changed files with 20 additions and 20 deletions
+2 -1
View File
@@ -35,9 +35,10 @@ export function passwordReg(s) {
/**
* 手机号
* /^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\d{8}$/
* */
export function phoneReg(s) {
return /^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\d{8}$/.test(s)
return /^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(s)
}
/**