1178232204@qq.com 3 лет назад
Родитель
Сommit
62c2854498
1 измененных файлов с 3 добавлено и 1 удалено
  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