mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
fix typo
This commit is contained in:
parent
7099e6a3eb
commit
a160848367
@ -26,7 +26,7 @@ export function validateUpperCase(str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 大小写字母*/
|
/* 大小写字母*/
|
||||||
export function validatAlphabets(str) {
|
export function validateAlphabets(str) {
|
||||||
const reg = /^[A-Za-z]+$/
|
const reg = /^[A-Za-z]+$/
|
||||||
return reg.test(str)
|
return reg.test(str)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user