Browse Source

fix typo (#1611)

pull/1616/head
wangyun122 8 years ago
committed by 陈帅
parent
commit
5f5bc2f8e1
  1. 4
      src/layouts/BasicLayout.js

4
src/layouts/BasicLayout.js

@ -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 {
match, match,
location, location,
} = this.props; } = this.props;
const bashRedirect = this.getBashRedirect(); const bashRedirect = this.getBaseRedirect();
const layout = ( const layout = (
<Layout> <Layout>
<SiderMenu <SiderMenu

Loading…
Cancel
Save