提交 1cdf5662 编写于 作者: 陈帅

fix this.flatMenuKeys error

上级 394437d0
......@@ -72,9 +72,7 @@ export default class BaseMenu extends PureComponent {
// Get the currently selected menu
getSelectedMenuKeys = pathname =>
urlToList(pathname).map(function(itemPath) {
return getMenuMatches(this.flatMenuKeys, itemPath).pop();
});
urlToList(pathname).map(itemPath => getMenuMatches(this.flatMenuKeys, itemPath).pop());
/**
* get SubMenu or Item
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册