Explorar o código

登录异常判断

1178232204@qq.com %!s(int64=3) %!d(string=hai) anos
pai
achega
62c2854498
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/js/utils.js

+ 3 - 1
src/js/utils.js

@@ -272,7 +272,9 @@ const post = function (url, data, opts) {
             isFather: true,
             fatherWrapper: $("#mainBox", parent.document)
           });
-          window.location.href = 'login.html'
+          setTimeout(() => {
+            window.parent.window.location.href = 'login.html'
+          }, 1200)
         }
         resolve({
           data: res