From eed31c2a449738ec359ed1bb4c1a98b9dd63673e Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期一, 18 十二月 2023 13:35:16 +0800
Subject: [PATCH] 1
---
WebTM/views/index_pb.html | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/WebTM/views/index_pb.html b/WebTM/views/index_pb.html
index 0fb2985..06e054a 100644
--- a/WebTM/views/index_pb.html
+++ b/WebTM/views/index_pb.html
@@ -12,7 +12,13 @@
<link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
<script src="../layuiadmin/zgqCustom/zgqCustom.js"></script>
<script src="../layuiadmin/Scripts/jquery-3.5.1.min.js"></script>
-
+ <script language="JavaScript">
+ //灞忚斀鍚庨��鎸夐挳
+ history.pushState(null, null, document.URL);
+ window.addEventListener('popstate', function () {
+ history.pushState(null, null, document.URL);
+ });
+ </script>
<script>
/^http(s*):\/\//.test(location.href) || alert('璇峰厛閮ㄧ讲鍒� localhost 涓嬪啀璁块棶');
</script>
@@ -1144,7 +1150,7 @@
if (sessionStorage.login != "login") {
layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", {
icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍']
- }, function () { window.location.href = "user/login.html"; });
+ }, function () { window.location.href = "user/login_pb.html"; });
}
$("#LAY_app_flexible").click();
--
Gitblit v1.9.1