删除console

This commit is contained in:
许红梅 2022-09-07 18:56:10 +08:00
parent cbc57b9c27
commit d6da93a358
1 changed files with 0 additions and 2 deletions

View File

@ -41,11 +41,9 @@ export default class bottomBar extends React.Component {
} }
} }
componentWillReceiveProps(nextProps){ componentWillReceiveProps(nextProps){
console.log(1313);
let navList=nextProps.bottomBarConfig.navlist; let navList=nextProps.bottomBarConfig.navlist;
let naVisual=navList.filter(item=>item.iswitch); let naVisual=navList.filter(item=>item.iswitch);
this.setState({navList:naVisual}); this.setState({navList:naVisual});
console.log(66,nextProps);
} }
clickIcon(e,index){ clickIcon(e,index){
this.setState({active:index}); this.setState({active:index});