Commit 5f5bc2f8 authored by wangyun122's avatar wangyun122 Committed by 陈帅

fix typo (#1611)

parent 2fbc37b0
...@@ -128,7 +128,7 @@ class BasicLayout extends React.PureComponent { ...@@ -128,7 +128,7 @@ class BasicLayout extends React.PureComponent {
} }
return title; return title;
} }
getBashRedirect = () => { getBaseRedirect = () => {
// According to the url parameter to redirect // According to the url parameter to redirect
// 这里是重定向的,重定向到 url 的 redirect 参数所示地址 // 这里是重定向的,重定向到 url 的 redirect 参数所示地址
const urlParams = new URL(window.location.href); const urlParams = new URL(window.location.href);
...@@ -189,7 +189,7 @@ class BasicLayout extends React.PureComponent { ...@@ -189,7 +189,7 @@ class BasicLayout extends React.PureComponent {
match, match,
location, location,
} = this.props; } = this.props;
const bashRedirect = this.getBashRedirect(); const bashRedirect = this.getBaseRedirect();
const layout = ( const layout = (
<Layout> <Layout>
<SiderMenu <SiderMenu
......
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