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)
     }