shawenguan 1 năm trước cách đây
mục cha
commit
4690296e8b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      Scripts/elife/ofpayHelper.js

+ 3 - 0
Scripts/elife/ofpayHelper.js

@@ -280,6 +280,9 @@ function handleIndexLogin() {
     if (loginParams) {
         lk.setVal(OfPayConstKey.loginParams, loginParams);
     }
+    if (!$response) {
+        return;
+    }
     let headers = $response.headers;
     let newAuthorization = null;
     if (headers['Set-Cookie']) {