refactor: check nameEn ,
This commit is contained in:
parent
b965420e5c
commit
6338977e6d
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
:rules="[
|
||||
(val) => !!val || $t('form.error.required'),
|
||||
(val) =>
|
||||
/^[A-Za-z0-9\s.]+$/.test(val) || $t('form.error.letterOnly'),
|
||||
/^[A-Za-z0-9\s.,]+$/.test(val) || $t('form.error.letterOnly'),
|
||||
]"
|
||||
for="input-name-en"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue