Explorar o código

✅ test: wecom scan test8

WanGxC hai 1 ano
pai
achega
e134e6f125
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/system/login/component/scan.vue

+ 1 - 1
src/views/system/login/component/scan.vue

@@ -42,7 +42,7 @@ async function handleWeComLogin(query) {
   try {
     const res = await WeComLogin(query)
     console.log('res', res)
-    if (res.code === '2000') {
+    if (res) {
       emitter.emit('scan-wecomLogin', { loginInfo: res.data })
     }
   } catch (error) {