Commit 4025619d authored by 陈小聪's avatar 陈小聪 Committed by 陈帅

dead code (#3639)

* dead code
Close: #3637

* delete dead props
parent aa09904f
......@@ -33,13 +33,13 @@ export default class BaseMenu extends PureComponent {
* 获得菜单子节点
* @memberof SiderMenu
*/
getNavMenuItems = (menusData, parent) => {
getNavMenuItems = menusData => {
if (!menusData) {
return [];
}
return menusData
.filter(item => item.name && !item.hideInMenu)
.map(item => this.getSubMenuOrItem(item, parent))
.map(item => this.getSubMenuOrItem(item))
.filter(item => item);
};
......
......@@ -39,7 +39,6 @@ class Analysis extends Component {
type: 'chart/clear',
});
cancelAnimationFrame(this.reqRef);
clearTimeout(this.timeoutId);
}
handleChangeSalesType = e => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment