Update add.js

This commit is contained in:
姜棚 2022-01-24 15:56:33 +08:00
parent 589f57f288
commit 5f69e61f1e
1 changed files with 2 additions and 12 deletions

View File

@ -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>