tangning 2 anni fa
parent
commit
f4c3fa54d8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)
     }