From a866e581db6a24e9aa4b2145d3e4c2256cfc07cd Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 12:00:35 +0800
Subject: [PATCH] 34

---
 src/views/login/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 59bd95b..f258920 100644
--- a/src/views/login/index.vue
+++ b/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('请填写表单登录。。')

--
Gitblit v1.8.0