diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index 81b2ce88209b3a0bacedc5e2e9ff4a59c7ae9b2a..a28959f0af12b4be3af36a30fc5909e8bf528e86 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -143,9 +143,9 @@ class BasicLayout extends React.PureComponent { getMenuData() { const { - route: { routes }, + route: { routes, path, authority }, } = this.props; - return memoizeOneFormatter(routes); + return memoizeOneFormatter(routes, path, authority); } /**