From 8ffa43da882a01c3845dbafa7022519f1a5aaff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Fri, 21 Jan 2022 10:02:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/add/add.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index c8f736a0..e90d128b 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -814,11 +814,9 @@ export default class acclist extends React.Component{ } this.setState({mobile_excel:req.path}) - getAccessVerification(data).then((res)=>{ + this.setState({file_loading:false}) handelResponse(res,(req,msg)=>{ - - console.log("验证",req) this.setState({accessVerify:true}) this.setState({excel_count:req.count}) this.setState({error_count:req.errorCount}) @@ -826,13 +824,10 @@ export default class acclist extends React.Component{ this.setState({success_count:success}) if(req.validationFailed.length > 0) { - this.setState({exceldata:req.validationFailed}) - this.setState({file_loading:false}) this.setState({success_visible:true}) } else{ - this.setState({file_loading:false}) this.setState({success_visible:true}) } },(err)=>{ @@ -1107,7 +1102,7 @@ export default class acclist extends React.Component{ value={this.state.model.batch_name} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'400px'} alignment={'left'}/> - + { this.onStyleChange(e)} } value={this.state.model.style} disabled={this.state.isEdit} > 串码 链接