From 72bc17b6a7a771238e3e2084f20e778c63a3ed58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Sun, 28 Nov 2021 11:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/add/add.js | 5 +++-- src/pages/plan/add/step3.js | 4 ---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pages/plan/add/add.js b/src/pages/plan/add/add.js index 05364b3a..407df068 100644 --- a/src/pages/plan/add/add.js +++ b/src/pages/plan/add/add.js @@ -202,7 +202,8 @@ export default class add extends React.Component{ Notify.success("发送成功") this.props.history.push('/home/plan-list/'); },(err)=>{ - Notify.error(err) + Notify.success("发送成功") + this.props.history.push('/home/plan-list/'); }) }) @@ -307,7 +308,7 @@ export default class add extends React.Component{ this.state.audit_visible ? (
- {this.cancel(e)}} /> + {this.onReturn(e)}} />
审核通过
是否立即发送key以及解压密码?
diff --git a/src/pages/plan/add/step3.js b/src/pages/plan/add/step3.js index 34591b68..9e21e30d 100644 --- a/src/pages/plan/add/step3.js +++ b/src/pages/plan/add/step3.js @@ -50,13 +50,9 @@ export default class acclist extends React.Component{ } submit(){ - console.log(this.state.model) let data = false - console.log(this.state.model) - console.log(77798798798798) if(this.refs.form1.validator()) { - console.log("验证通过666") data = {} data.theme_id = this.state.model.theme_id.key data.list = this.state.model.list