Update step2.js

This commit is contained in:
姜棚 2022-01-24 11:59:32 +08:00
parent a240dcc77d
commit 0cbe05e1b9
1 changed files with 2 additions and 11 deletions

View File

@ -999,21 +999,12 @@ export default class acclist extends React.Component{
{ {
this.state.import_success ? (<Button type="primary" onClick={(e)=>{
this.setState({mobile_excel:""})
this.setState({mobile_repeat:[]})
this.setState({import_success:false})
this.setState({excel_count:0})
this.setState({accessVerify:false})
let model = this.state.model;
model.quantity = 0;
this.setState({model:model})
}}>清除白名单</Button>) :(
this.state.white_visible ? (<Button type="primary" onClick={(e)=>{ this.state.white_visible ? (<Button type="primary" onClick={(e)=>{
this.initUpload(); this.initUpload();
this.setState({import_visible:true}) this.setState({import_visible:true})
}}>导入白名单</Button>) : null) }}>导入白名单</Button>) : null
} }