调整路由

This commit is contained in:
red-deng-deng 2021-12-08 13:40:35 +08:00
parent 8b96923a32
commit 854e9e1b31
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const Modifypwd=(props)=>{
Notify.clear(); Notify.clear();
Notify.success(msg); Notify.success(msg);
setTimeout(()=>{ setTimeout(()=>{
window.location.href='/login'; window.location.href='/';
sessionStorage.clear(); sessionStorage.clear();
},2000); },2000);
},err=>{ },err=>{