提交 7452ec68 authored 作者: sin's avatar sin

- 优化,登陆页面获取菜单会失败,

上级 08cbed24
......@@ -36,14 +36,14 @@ const copyright = (
class UserLayout extends Component {
componentDidMount() {
const {
dispatch,
route: { routes, authority },
} = this.props;
dispatch({
type: 'menu/getMenuData',
payload: { routes, authority },
});
// const {
// dispatch,
// route: { routes, authority },
// } = this.props;
// dispatch({
// type: 'menu/getMenuData',
// payload: { routes, authority },
// });
}
render() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论