fix: 添加验证电话号码是否合法

This commit is contained in:
@changcode
2021-05-28 13:12:05 +08:00
parent ccf8013050
commit 6e601b36df
5 changed files with 38 additions and 2 deletions

View File

@@ -515,6 +515,7 @@ const en = {
positiveInteger: 'Positive integer',
email: 'Invalid email', // '不合法的E-mail地址'
tel: 'Invalid phone number', // '不合法的电话号码'
telephone: 'Phone number cannot be empty',
host: 'Invalid Host', // '不合法的Host'
domain: 'Invalid domain',
usize: 'Must be number(1 - 47)',