From d239fea7cafc2db4f6fb27cb2a1331b885c5e820 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 15:22:53 +0800
Subject: [PATCH] 34
---
src/views/login/index.vue | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index d63d4d5..f30bd9c 100644
--- a/src/views/login/index.vue
+++ b/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()
--
Gitblit v1.8.0