src/views/login/index.vue @@ -37,6 +37,7 @@ const getUserinfo=()=>{ ajaxPost('/patient/info/getPatientInfo','').then((re:any)=>{ console.log(re) userInfo.setPatient(re) router.push('/') }) }