diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js index 038a19a83..1768cf064 100644 --- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js +++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js @@ -199,9 +199,13 @@ class PackageIndexNEIBannerConcent extends Component { }).then((result) => { //验证有问题{"status":1,"message":"success"} // console.log(result); - this.openNotification("验证码已发送,请注意查收!",2); - + // this.openNotification("验证码已发送,请注意查收!",2); + if(result.data.status===1){ + this.openNotification("验证码已发送,请注意查收",2); + }else{ + this.openNotification(result.data.success,2); + } }).catch((error) => { console.log(error); diff --git a/public/react/src/modules/user/FindPasswordComponent.js b/public/react/src/modules/user/FindPasswordComponent.js index 54c55770e..8131ee616 100644 --- a/public/react/src/modules/user/FindPasswordComponent.js +++ b/public/react/src/modules/user/FindPasswordComponent.js @@ -166,8 +166,12 @@ class LoginRegisterComponent extends Component { } }).then((result) => { //验证有问题{"status":1,"message":"success"} - this.openNotification("验证码已发送,请注意查收!",2); - + // this.openNotification("验证码已发送,请注意查收!",2); + if(result.data.status===1){ + this.openNotification("验证码已发送,请注意查收",2); + }else{ + this.openNotification(result.data.success,2); + } }).catch((error) => { console.log(error);