Commit f3ec5fa9 authored by Mutrix's avatar Mutrix Committed by ι™ˆεΈ…

bug: fix authorities of root route were not be injected in Authorized component (#2861)

parent f9004b63
...@@ -143,9 +143,9 @@ class BasicLayout extends React.PureComponent { ...@@ -143,9 +143,9 @@ class BasicLayout extends React.PureComponent {
getMenuData() { getMenuData() {
const { const {
route: { routes }, route: { routes, path, authority },
} = this.props; } = this.props;
return memoizeOneFormatter(routes); return memoizeOneFormatter(routes, path, authority);
} }
/** /**
......
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