Explorar el Código

✅ test: wecom scan test8

WanGxC hace 1 año
padre
commit
e134e6f125
Se han modificado 1 ficheros con 1 adiciones y 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) {