소스 검색

style: fix typo bashRedirect=>baseRedirect

KJlmfe 7 년 전
부모
커밋
ba7cbf0d1b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/layouts/BasicLayout.js

+ 2 - 2
src/layouts/BasicLayout.js

@@ -210,7 +210,7 @@ class BasicLayout extends React.PureComponent {
       location,
     } = this.props;
     const { isMobile: mb } = this.state;
-    const bashRedirect = this.getBaseRedirect();
+    const baseRedirect = this.getBaseRedirect();
     const layout = (
       <Layout>
         <SiderMenu
@@ -255,7 +255,7 @@ class BasicLayout extends React.PureComponent {
                   redirectPath="/exception/403"
                 />
               ))}
-              <Redirect exact from="/" to={bashRedirect} />
+              <Redirect exact from="/" to={baseRedirect} />
               <Route render={NotFound} />
             </Switch>
           </Content>