소스 검색

🐛 bug: fix login error bug

chenshuai2144 6 년 전
부모
커밋
eeff7f7d1e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/pages/user/login/components/Login/index.tsx

+ 1 - 0
src/pages/user/login/components/Login/index.tsx

@@ -87,6 +87,7 @@ const Login: LoginType = (props) => {
           {tabs.length ? (
             <React.Fragment>
               <Tabs
+                destroyInactiveTabPane
                 animated={false}
                 className={styles.tabs}
                 activeKey={type}