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