Update list.js

This commit is contained in:
姜棚 2022-01-05 15:19:58 +08:00
parent aff6b5b463
commit 4b7e3a5503
1 changed files with 7 additions and 4 deletions

View File

@ -311,9 +311,12 @@ export default class acclist extends React.Component{
}
tabFn(index){
this.setState({activepage:index,key_word:''});
if(index==1||index==2){
this.setState({distdata:[]});
}else{
if(index ==1){
this.setState({activepage:1});
}
if(index ==2){
this.setState({activepage:2});
}
if(index==3){
this.setState({activepage:4});
@ -332,7 +335,7 @@ export default class acclist extends React.Component{
this.getKeyList();
}, 10);
}
}
//作废