diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js index b2797c55f..a510f2568 100644 --- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js +++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js @@ -203,7 +203,7 @@ class PackageIndexNEIBannerConcent extends Component { if(result.data.status===1){ this.openNotification("验证码已发送,请注意查收",2); - }else{ + }else if(result.data.status===-2){ this.openNotification(result.data.message,2); } }).catch((error) => { diff --git a/public/react/src/modules/user/FindPasswordComponent.js b/public/react/src/modules/user/FindPasswordComponent.js index 0eb4d72db..988c4ebdd 100644 --- a/public/react/src/modules/user/FindPasswordComponent.js +++ b/public/react/src/modules/user/FindPasswordComponent.js @@ -169,7 +169,7 @@ class LoginRegisterComponent extends Component { // this.openNotification("验证码已发送,请注意查收!",2); if(result.data.status===1){ this.openNotification("验证码已发送,请注意查收",2); - }else{ + }else if(result.data.status===-2){ this.openNotification(result.data.message,2); } }).catch((error) => {