Update add.js
This commit is contained in:
parent
589f57f288
commit
5f69e61f1e
|
@ -1133,21 +1133,11 @@ 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.initUpload();
|
||||
this.setState({import_visible:true})
|
||||
}}>导入白名单</Button>) : null)
|
||||
}}>导入白名单</Button>) : null
|
||||
}
|
||||
</div>
|
||||
</FormItem>
|
||||
|
|
Loading…
Reference in New Issue