Commit ba7cbf0d authored by KJlmfe's avatar KJlmfe Committed by ι™ˆεΈ…

style: fix typo bashRedirect=>baseRedirect

parent 73be04e2
...@@ -210,7 +210,7 @@ class BasicLayout extends React.PureComponent { ...@@ -210,7 +210,7 @@ class BasicLayout extends React.PureComponent {
location, location,
} = this.props; } = this.props;
const { isMobile: mb } = this.state; const { isMobile: mb } = this.state;
const bashRedirect = this.getBaseRedirect(); const baseRedirect = this.getBaseRedirect();
const layout = ( const layout = (
<Layout> <Layout>
<SiderMenu <SiderMenu
...@@ -255,7 +255,7 @@ class BasicLayout extends React.PureComponent { ...@@ -255,7 +255,7 @@ class BasicLayout extends React.PureComponent {
redirectPath="/exception/403" redirectPath="/exception/403"
/> />
))} ))}
<Redirect exact from="/" to={bashRedirect} /> <Redirect exact from="/" to={baseRedirect} />
<Route render={NotFound} /> <Route render={NotFound} />
</Switch> </Switch>
</Content> </Content>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment