454
chenyc
2022-10-21 0107d03b1270871b6c791080a23da93a227da4d2
src/views/login/index.vue
@@ -51,7 +51,7 @@
            } else {
                console.log('得到tokeng')
                Session.set('token', re)
                Toast('登录成功。。。。。')
                Toast('登录成功')
                getUserinfo()
            }
        }).finally(()=>{
@@ -81,7 +81,7 @@
                Toast('登录失败,请重新登录')
            } else {
                Session.set('token', re)
                Toast('登录成功。。。。。')
                Toast('登录成功')
                getUserinfo()
            }
        })
@@ -136,10 +136,10 @@
                        ajaxPost('patient/info/wechatLogin','openId='+openId,config).then((re:any)=>{
                            console.log('openid换的accesstoken=',re)
                            if (re===''){
                                Toast('请填写表单登录。。')
                                Toast('请填写表单登录')
                            } else {
                                Session.set('token', re)
                                Toast('登录成功。。。。。')
                                Toast('登录成功')
                                getUserinfo()
                            }
                        })