From 268d58a278c6e93f2ebbd567686e70383aacfea4 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 03 七月 2020 14:16:23 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/pipeline.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/views/pipeline.html b/src/main/webapp/views/pipeline.html
index 384f97d..96ba05f 100644
--- a/src/main/webapp/views/pipeline.html
+++ b/src/main/webapp/views/pipeline.html
@@ -119,7 +119,7 @@
                         tr.children("td").eq(2).html(table[i-1].error);
                     }
                 } else if (res.code === 403){
-                    top.location.href = baseUrl+"/login";
+                    window.location.href = baseUrl+"/login";
                 }  else {
                     alert(res.msg);
                 }
@@ -166,7 +166,7 @@
                         // tr.children("td").eq(9).html(table[i-1].staNo);
                     }
                 } else if (res.code === 403){
-                    top.location.href = baseUrl+"/login";
+                    window.location.href = baseUrl+"/login";
                 }  else {
                     alert(res.msg);
                 }
@@ -184,7 +184,7 @@
                 if (res.code === 200) {
                     output(res.data);
                 } else if (res.code === 403) {
-                    top.location.href = baseUrl + "/login";
+                    window.location.href = baseUrl + "/login";
                 } else {
                     alert(res.msg);
                 }

--
Gitblit v1.9.1