From 401f690e48292e4cb476a0b8d9790da2e1c71d33 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.137.1> Date: 星期六, 19 一月 2019 09:10:49 +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