From 752e8fd530e3aae8cfa8e86136f51dc50b4b64b6 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 21 四月 2026 20:23:24 +0800
Subject: [PATCH] 1
---
WebTM/views/系统管理/用户管理/Gy_UserProcess.html | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Gy_UserProcess.html" "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Gy_UserProcess.html"
index fff1da7..492ba20 100644
--- "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Gy_UserProcess.html"
+++ "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Gy_UserProcess.html"
@@ -493,12 +493,18 @@
}
//#region 鍒ゆ柇鏁版嵁鏁扮粍涓殑鍊兼槸鍚︾浉鍚�
function isAllEqual(list) {
- var s = list.join(",") + ",";
for (var i = 0; i < list.length; i++) {
- if (s.replace(list[i] + ",", "").indexOf(list[i] + ",") > -1) {
- return true;
+ var count = 0;
+ for (var j = 0; j < list.length; j++) {
+ if (list[i] === list[j]) {
+ count++;
+ }
+ if (count >= 2) {
+ return true; // 鎵惧埌閲嶅
+ }
}
}
+ return false;
}
//#region 闈炵┖楠岃瘉
function AllowLoadData(sSubStr) { //闈炵┖楠岃瘉
--
Gitblit v1.9.1