34
chenyc
2022-10-21 d239fea7cafc2db4f6fb27cb2a1331b885c5e820
34
1个文件已修改
3 ■■■■ 已修改文件
src/views/login/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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()