fix typo
This commit is contained in:
@@ -26,7 +26,7 @@ export function validateUpperCase(str) {
|
||||
}
|
||||
|
||||
/* 大小写字母*/
|
||||
export function validatAlphabets(str) {
|
||||
export function validateAlphabets(str) {
|
||||
const reg = /^[A-Za-z]+$/
|
||||
return reg.test(str)
|
||||
}
|
||||
|
Reference in New Issue
Block a user