From 5f5bc2f8e18066aeb1a2e543332042f79384c6ad Mon Sep 17 00:00:00 2001 From: wangyun122 Date: Tue, 5 Jun 2018 17:50:22 +0800 Subject: [PATCH] fix typo (#1611) --- src/layouts/BasicLayout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index 29a4346f..b0ae923c 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -128,7 +128,7 @@ class BasicLayout extends React.PureComponent { } return title; } - getBashRedirect = () => { + getBaseRedirect = () => { // According to the url parameter to redirect // 这里是重定向的,重定向到 url 的 redirect 参数所示地址 const urlParams = new URL(window.location.href); @@ -189,7 +189,7 @@ class BasicLayout extends React.PureComponent { match, location, } = this.props; - const bashRedirect = this.getBashRedirect(); + const bashRedirect = this.getBaseRedirect(); const layout = (