- 优化,登陆页面获取菜单会失败,
This commit is contained in:
parent
08cbed2483
commit
7452ec68ae
@ -36,14 +36,14 @@ const copyright = (
|
|||||||
|
|
||||||
class UserLayout extends Component {
|
class UserLayout extends Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
const {
|
// const {
|
||||||
dispatch,
|
// dispatch,
|
||||||
route: { routes, authority },
|
// route: { routes, authority },
|
||||||
} = this.props;
|
// } = this.props;
|
||||||
dispatch({
|
// dispatch({
|
||||||
type: 'menu/getMenuData',
|
// type: 'menu/getMenuData',
|
||||||
payload: { routes, authority },
|
// payload: { routes, authority },
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
Reference in New Issue
Block a user