解决后端登陆不提示

This commit is contained in:
red-deng-deng 2021-11-29 17:19:09 +08:00
parent 281614065b
commit 7ac72fe989
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ function FormDom(props) {
},err=>{ },err=>{
if(res.code==-2){ if(res.code==-2){
setYzmcode(true); setYzmcode(true);
}else{
Notify.clear();
Notify.error(res.message);
} }
}); });
}).catch(err=>{ }).catch(err=>{