Skip to content
Snippets Groups Projects
Commit a1608483 authored by Pan's avatar Pan
Browse files

fix typo

parent 7099e6a3
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment