34
chenyc
2022-10-21 63bc3b1dfcf7a9e16ad0df52c6525460a000f32c
34
1个文件已修改
6 ■■■■ 已修改文件
src/views/login/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.vue
@@ -119,9 +119,9 @@
                ajaxGet('wechat/code',{code}).then((re:any)=>{
                    console.log(re)
                    userInfo.setUserInfo({openid:re.openid,nickname:re.nickname,headimgurl:re.headimgurl})
                    const openid = re.openid
                    if (openid) { // 检查登录
                        ajaxPost('patient/info/wechatLogin',{openid},config).then((re:any)=>{
                    const openId = re.openid
                    if (openId) { // 检查登录
                        ajaxPost('patient/info/wechatLogin',{openId},config).then((re:any)=>{
                            console.log('openid换的accesstoken=',re)
                            if (re===''){
                                Toast('请填写表单登录。。')