From 04ef1a453d35fab8742f185a33d2659f623b038c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <xltys1995> Date: 星期二, 22 二月 2022 16:32:12 +0800 Subject: [PATCH] Merge branch 'xgmwcs' of http://47.97.1.152:5880/r/zy-wcs into xgmwcs --- src/main/webapp/static/js/cool.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/cool.js b/src/main/webapp/static/js/cool.js index bbc4def..9aff404 100644 --- a/src/main/webapp/static/js/cool.js +++ b/src/main/webapp/static/js/cool.js @@ -53,7 +53,7 @@ } selectDom.style.display='block'; } else if (res.code === 403){ - top.location.href = baseUrl; + window.location.href = baseUrl; } else { layer.msg(res.msg) } @@ -126,7 +126,7 @@ layer.close(tips); banMsg = null; } else if (res.code === 403) { - top.location.href = baseUrl; + window.location.href = baseUrl; } else if (res.code === 407) { banMsg = res.data + "涓嶅彲鐢�"; tips = layer.tips( -- Gitblit v1.9.1