From f3b433d8a105a3ebe803c060a36f7a738e282a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Fri, 26 Nov 2021 17:24:01 +0800 Subject: [PATCH] Update list.js --- src/pages/plan/list/list.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/plan/list/list.js b/src/pages/plan/list/list.js index efb939a3..de38fcbe 100644 --- a/src/pages/plan/list/list.js +++ b/src/pages/plan/list/list.js @@ -73,12 +73,12 @@ export default class acclist extends React.Component{ limit:this.state.limit } this.getPlanList(data); - Notify.success("更改状态成功") + },(err)=>{ Notify.error(err) }) }) - + this.setState({audit_visible:false}) Notify.success("发送成功") },(err)=>{ @@ -178,7 +178,9 @@ export default class acclist extends React.Component{ this.setState({email_list:req.contact_email}) this.setState({audit_visible:true}) - }) + },(err)=>{ + Notify.error(err) + }) }) } else{