tangning преди 2 години
родител
ревизия
b736265872
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/mobile/index.vue

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

@@ -106,7 +106,7 @@ async function handleWxlogin(wxAppId:string) {
   if(!openId && !code){//微信登录
     getWeChatCode(wxAppId)
   }else if(code){//存在code 换取openid
-    const res = wxLogin({code,orderSn})
+    const res = wxLogin({code,orderSn:orderSn.value})
     setUserData(res.openId,'openId')
     console.log('wxLogin', res)
   }