tangning 2 years ago
parent
commit
f4c3fa54d8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/mobile/index.vue

+ 1 - 0
src/views/mobile/index.vue

@@ -116,6 +116,7 @@ async function handleWxlogin(wxAppId: string) {
   } else if (code) {
     //存在code 换取openid
     const res = wxLogin({ code, orderSn: orderSn.value })
+    console.log('wxLogin',res)
     if (!res.errmsg) {
       setUserOpenId(res.openid)
     }