56
chenyc
2022-10-21 43af31998b7251ab5819bfb7f889d73b8a5c1e3d
src/views/login/index.vue
@@ -36,7 +36,8 @@
    }
    const getUserinfo=()=>{
        ajaxPost('/patient/info/getPatientInfo','').then((re:any)=>{
            console.log(re)
            console.log(re,'得到患者的信息getUserinfo')
            userInfo.setPatient(re)
            router.push('/')
        })
    }
@@ -137,7 +138,6 @@
                            if (re===''){
                                Toast('请填写表单登录。。')
                            } else {
                                console.log()
                                Session.set('token', re)
                                Toast('登录成功。。。。。')
                                getUserinfo()