From 5cca7f0070cae77b2b6901ac2782f42da7d0eb48 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期三, 17 一月 2024 11:51:52 +0800
Subject: [PATCH] # 配置属性修改
---
 src/main/webapp/views/index.html |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 069cea7..9d653ee 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -162,24 +162,24 @@
 
     let username = localStorage.getItem('username')
     let password = localStorage.getItem('password')
-    // if (!(username === 'super' || password === 'root')) {
-    //   if(!checkPassword(password)){
-    //     //瑕佹眰淇敼瀵嗙爜
-    //     layer.msg('寮卞瘑鐮佽淇敼瀵嗙爜鍐嶇户缁�', {icon: 2});
-    //     layer.open({
-    //       type: 2,
-    //       title: '鍩烘湰璧勬枡',
-    //       maxmin: true,
-    //       shadeClose: false,
-    //       area: [top.detailWidth, top.detailHeight],
-    //       content: 'detail.html',
-    //       closeBtn: 0,
-    //       success: function(layero, index){
-    //         layero.find('.layui-layer-min').remove(); //鍘绘帀鏈�灏忓寲鎸夐挳
-    //         layero.find('.layui-layer-max').remove(); //鍘绘帀鏈�澶у寲鎸夐挳
-    //       }
-    //     })
-    //   }
+    if (!(username === 'super' || password === 'root')) {
+      if(false){
+        //瑕佹眰淇敼瀵嗙爜
+        layer.msg('寮卞瘑鐮佽淇敼瀵嗙爜鍐嶇户缁�', {icon: 2});
+        layer.open({
+          type: 2,
+          title: '鍩烘湰璧勬枡',
+          maxmin: true,
+          shadeClose: false,
+          area: [top.detailWidth, top.detailHeight],
+          content: 'detail.html',
+          closeBtn: 0,
+          success: function(layero, index){
+            layero.find('.layui-layer-min').remove(); //鍘绘帀鏈�灏忓寲鎸夐挳
+            layero.find('.layui-layer-max').remove(); //鍘绘帀鏈�澶у寲鎸夐挳
+          }
+        })
+      }
     }
 
   });
--
Gitblit v1.9.1