diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index 29a4346f4de80cc03d7c31beb5a9b984060e897d..b0ae923c45b9c6a3d8d9e7ce28250faaca9d7b73 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 = (