From 3e9d2956bb0fc3dd607b713ca9078d1cc1408b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Thu, 15 Nov 2018 15:18:11 +0800 Subject: [PATCH] fix menu error --- src/layouts/BasicLayout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index a28959f0..96b34ac2 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -143,9 +143,9 @@ class BasicLayout extends React.PureComponent { getMenuData() { const { - route: { routes, path, authority }, + route: { routes, authority }, } = this.props; - return memoizeOneFormatter(routes, path, authority); + return memoizeOneFormatter(routes, authority); } /** -- GitLab