From a1608483676717e1340000eeaa44c41a2944e323 Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 15 Apr 2018 21:01:03 +0800 Subject: [PATCH] fix typo --- src/utils/validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/validate.js b/src/utils/validate.js index 5bdd1b43..10579fd3 100644 --- a/src/utils/validate.js +++ b/src/utils/validate.js @@ -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) }