shawenguan 1 yıl önce
ebeveyn
işleme
06656c3b53
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Scripts/telecom/cloud189Helper.js

+ 1 - 1
Scripts/telecom/cloud189Helper.js

@@ -349,7 +349,7 @@ async function login(username, password){
             return;
         }
         let loginData = await checkLogin(username, password, extData);
-        if(loginData.result == 0){
+        if(loginData && loginData.result == 0){
             await tryJumpToUrl(loginData.toUrl);
             resolve(extData);
         }else{