From 3d4a572565eadba1c9b32b5d9425c504a262fd7a Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期三, 17 一月 2024 11:28:59 +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 ce3807a..069cea7 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(!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(); //鍘绘帀鏈�澶у寲鎸夐挳
+ // }
+ // })
+ // }
}
});
--
Gitblit v1.9.1