Skip to content

Commit

Permalink
fix: ant-design#3114 某些情况下顶部导航高亮丢失 (ant-design#3120)
Browse files Browse the repository at this point in the history
  • Loading branch information
ergoulee authored and chenshuai2144 committed Dec 13, 2018
1 parent 95ecc75 commit 9037106
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/SiderMenu/BaseMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import React, { PureComponent } from 'react';
import classNames from 'classnames';
import { Menu, Icon } from 'antd';
import Link from 'umi/link';
import isEqual from 'lodash/isEqual';
import memoizeOne from 'memoize-one';
import { urlToList } from '../_utils/pathTools';
import { getMenuMatches } from './SiderMenuUtils';
import { isUrl } from '@/utils/utils';
Expand All @@ -26,10 +24,6 @@ const getIcon = icon => {
};

export default class BaseMenu extends PureComponent {
constructor(props) {
super(props);
this.getSelectedMenuKeys = memoizeOne(this.getSelectedMenuKeys, isEqual);
}

/**
* 获得菜单子节点
Expand Down

0 comments on commit 9037106

Please sign in to comment.