From eb180aa96d42bea455d40645ce90e6a07c1b47e3 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.137.1> Date: 星期六, 19 一月 2019 10:21:57 +0800 Subject: [PATCH] 添加点选验证 --- gx_tieta/WebRoot/login.jsp | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/gx_tieta/WebRoot/login.jsp b/gx_tieta/WebRoot/login.jsp index 1b72337..68a7e8d 100644 --- a/gx_tieta/WebRoot/login.jsp +++ b/gx_tieta/WebRoot/login.jsp @@ -328,6 +328,13 @@ } }); } + + //鎷︽埅瀹夊崜鍥為��鎸夐挳 + history.pushState(null, null, location.href); + window.addEventListener('popstate', function(event) { + history.pushState(null, null, location.href ); + //姝ゅ鍔犲叆鍥為��鏃朵綘瑕佹墽琛岀殑浠g爜 + }); </script> </body> </html> \ No newline at end of file -- Gitblit v1.9.1