From 641b35ed84423990aad5cedeb5039ac98d163370 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 11 九月 2020 13:46:59 +0800 Subject: [PATCH] # --- src/main/webapp/views/console.html | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html index ba80c58..cd971a3 100644 --- a/src/main/webapp/views/console.html +++ b/src/main/webapp/views/console.html @@ -457,7 +457,7 @@ parent.systemRunning = false; } } else if (res.code === 403){ - window.location.href = baseUrl+"/login"; + parent.location.href = baseUrl+"/login"; } else { alert(res.msg); } @@ -484,7 +484,7 @@ parent.systemRunning = false; } } else if (res.code === 403){ - window.location.href = baseUrl+"/login"; + parent.location.href = baseUrl+"/login"; } else { alert(res.msg); } @@ -511,7 +511,7 @@ } } } else if (res.code === 403){ - window.location.href = baseUrl+"/login"; + parent.location.href = baseUrl+"/login"; } else { alert(res.msg); } @@ -535,7 +535,7 @@ crnEl.animate({left: (crns[i].bay * ($('.item').eq(0).width()+4)) +'px'}, 1000); } } else if (res.code === 403){ - window.location.href = baseUrl+"/login"; + parent.location.href = baseUrl+"/login"; } else { alert(res.msg); } @@ -556,7 +556,7 @@ $("#code-decoder-data-"+barcodes[i].barcodeId).html(barcodes[i].codeValue); } } else if (res.code === 403){ - window.location.href = baseUrl+"/login"; + parent.location.href = baseUrl+"/login"; } else { alert(res.msg); } -- Gitblit v1.9.1