Update list.js
This commit is contained in:
parent
aff6b5b463
commit
4b7e3a5503
|
@ -311,9 +311,12 @@ export default class acclist extends React.Component{
|
||||||
}
|
}
|
||||||
tabFn(index){
|
tabFn(index){
|
||||||
this.setState({activepage:index,key_word:''});
|
this.setState({activepage:index,key_word:''});
|
||||||
if(index==1||index==2){
|
if(index ==1){
|
||||||
this.setState({distdata:[]});
|
this.setState({activepage:1});
|
||||||
}else{
|
}
|
||||||
|
if(index ==2){
|
||||||
|
this.setState({activepage:2});
|
||||||
|
}
|
||||||
if(index==3){
|
if(index==3){
|
||||||
this.setState({activepage:4});
|
this.setState({activepage:4});
|
||||||
|
|
||||||
|
@ -332,7 +335,7 @@ export default class acclist extends React.Component{
|
||||||
this.getKeyList();
|
this.getKeyList();
|
||||||
}, 10);
|
}, 10);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
//作废
|
//作废
|
||||||
|
|
Loading…
Reference in New Issue