提交 ba7cbf0d 编写于 作者: K KJlmfe 提交者: 陈帅

style: fix typo bashRedirect=>baseRedirect

上级 73be04e2
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册