Przeglądaj źródła

✅ test: wecom scan test8

WanGxC 1 rok temu
rodzic
commit
e134e6f125
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {