34
chenyc
2022-10-21 a866e581db6a24e9aa4b2145d3e4c2256cfc07cd
34
1个文件已修改
2 ■■■ 已修改文件
src/views/login/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.vue
@@ -121,7 +121,7 @@
                    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)=>{
                        ajaxPost('patient/info/wechatLogin','openId='+openId,config).then((re:any)=>{
                            console.log('openid换的accesstoken=',re)
                            if (re===''){
                                Toast('请填写表单登录。。')