1178232204@qq.com 3 rokov pred
rodič
commit
62c2854498
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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