From 6fd621c4955e877e3f93a7319a544476f2cbb479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B1=B3=E8=80=81=E6=9C=B1?= Date: Sun, 2 Jun 2019 23:47:34 +0800 Subject: [PATCH] Fix login form submit problem with no tab --- UserLogin/src/components/Login/index.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/UserLogin/src/components/Login/index.tsx b/UserLogin/src/components/Login/index.tsx index da37e1f1..4979aff2 100644 --- a/UserLogin/src/components/Login/index.tsx +++ b/UserLogin/src/components/Login/index.tsx @@ -127,9 +127,9 @@ class Login extends Component { return (
- {tabs.length ? ( - -
+ + {tabs.length ? ( + { {TabChildren} {otherChildren} - -
- ) : ( - children - )} +
+ ) : ( + children + )} +
); -- GitLab