删除console
This commit is contained in:
parent
cbc57b9c27
commit
d6da93a358
|
@ -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});
|
||||||
|
|
Loading…
Reference in New Issue