tangning пре 2 година
родитељ
комит
f4c3fa54d8
1 измењених фајлова са 1 додато и 0 уклоњено
  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)
     }