From e7b77ff25f5905a4ea8b5aa6287fe16ee321a98f Mon Sep 17 00:00:00 2001 From: gebilaoman Date: Fri, 19 Oct 2018 22:33:51 +0800 Subject: [PATCH] the_register_page_phone_need_11 (#2605) --- src/pages/User/Register.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/User/Register.js b/src/pages/User/Register.js index 4fb451bf..15ef53f6 100644 --- a/src/pages/User/Register.js +++ b/src/pages/User/Register.js @@ -267,7 +267,7 @@ class Register extends Component { message: formatMessage({ id: 'validation.phone-number.required' }), }, { - pattern: /^\d{10}$/, + pattern: /^\d{11}$/, message: formatMessage({ id: 'validation.phone-number.wrong-format' }), }, ], -- GitLab