From 1a3ef899e4758365f5ae6a725b13c35db2ce5afb Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期五, 15 十二月 2023 16:25:01 +0800
Subject: [PATCH] 1

---
 WebTM/views/indexMenu.html |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/WebTM/views/indexMenu.html b/WebTM/views/indexMenu.html
index fe8b9b5..30c7c5a 100644
--- a/WebTM/views/indexMenu.html
+++ b/WebTM/views/indexMenu.html
@@ -11,7 +11,12 @@
     <link rel="stylesheet" href="../layuiadmin/layui/css/layui.css" media="all">
     <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
     <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>
@@ -201,14 +206,14 @@
             //鏄剧ず渚ц竟鑿滃崟
             function set_sideMenuDisPlay() {
                 //鍒ゆ柇鐢ㄦ埛鏄Щ鍔ㄧ杩樻槸PC绔�
-                var judgeMorPCflag = judgeMorPC();
-                if (!judgeMorPCflag) {//绉诲姩绔�
-                    var dd = '<dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationInBill_PDA.html">宸ュ簭杩涚珯鎺ユ敹鍗昉DA</a ></dd > <dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationOutBill_PDA.html">宸ュ簭鍑虹珯姹囨姤鍗昉DA</a></dd>';
-                    $("#append").prepend(dd);
-                }
-                if (!judgeMorPCflag) {//绉诲姩绔�
-                    window.location.href = 'index_Mobile.html'
-                }
+                //var judgeMorPCflag = judgeMorPC();
+                //if (!judgeMorPCflag) {//绉诲姩绔�
+                //    var dd = '<dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationInBill_PDA.html">宸ュ簭杩涚珯鎺ユ敹鍗昉DA</a ></dd > <dd><a href="杞﹂棿绠$悊/宸ュ簭娴佽浆/MES_StationOutBill_PDA.html">宸ュ簭鍑虹珯姹囨姤鍗昉DA</a></dd>';
+                //    $("#append").prepend(dd);
+                //}
+                //if (!judgeMorPCflag) {//绉诲姩绔�
+                //    window.location.href = 'index_Mobile.html'
+                //}
 
                 var ajaxLoad = layer.load();
                 //鑾峰彇鑿滃崟鍒楄〃鏁版嵁

--
Gitblit v1.9.1