From 22693ea5466dbbb21c4e5c003d467f9619627018 Mon Sep 17 00:00:00 2001
From: hdw <hdw@192.168.7.127>
Date: 星期五, 18 一月 2019 13:39:42 +0800
Subject: [PATCH] 屏蔽登陆页面的后退按钮
---
gx_tieta/WebRoot/mobil/loginm.html | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/loginm.html b/gx_tieta/WebRoot/mobil/loginm.html
index 8cdd92f..4ae26f5 100644
--- a/gx_tieta/WebRoot/mobil/loginm.html
+++ b/gx_tieta/WebRoot/mobil/loginm.html
@@ -156,5 +156,12 @@
+ ";expires=Thu, 01-Jan-70 00:00:01 GMT";
//console.info("鍒犻櫎鎴愬姛");
}
+
+ //鎷︽埅瀹夊崜鍥為��鎸夐挳
+ history.pushState(null, null, location.href);
+ window.addEventListener('popstate', function(event) {
+ history.pushState(null, null, location.href );
+ //姝ゅ鍔犲叆鍥為��鏃朵綘瑕佹墽琛岀殑浠g爜
+ });
</script>
</html>
--
Gitblit v1.9.1