From 956f10584a109456c1bb8c72c9a4e02494812c03 Mon Sep 17 00:00:00 2001
From: lgq <1015864684@qq.com>
Date: 星期二, 18 十一月 2025 15:13:21 +0800
Subject: [PATCH] 1.修改启动脚本,增加crond启动相关的目录配置

---
 local/www/js/page/device-common.js |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/local/www/js/page/device-common.js b/local/www/js/page/device-common.js
index 01d40ee..9f1c719 100644
--- a/local/www/js/page/device-common.js
+++ b/local/www/js/page/device-common.js
@@ -28,7 +28,7 @@
 
 //鍒濆鍖栧崗璁簱鍒楄〃
 initLibname();
-initDevLibname();
+
 
 $(document).ready(function () {
     //娣诲姞鍗忚搴撲笅鎷夌洃鍚�
@@ -286,11 +286,11 @@
     }
     var r = /^\d{1,3}$/;
     if(!r.test(data.id)){
-        window.parent.notify("鎮ㄨ緭鍏ョ殑ID涓嶇鍚堣姹傦紒璁惧ID璁剧疆鑼冨洿涓�0~999鐨勬鏁存暟锛�");
+        window.parent.notify("鎮ㄨ緭鍏ョ殑ID涓嶇鍚堣姹傦紒璁惧ID璁剧疆鑼冨洿涓�1~999鐨勬鏁存暟锛�");
         return;
     }
-    if (data.id<0 || data.id>999) {
-        window.parent.notify("璁惧ID璁剧疆鑼冨洿涓�0~999锛�");
+    if (data.id<1 || data.id>999) {
+        window.parent.notify("璁惧ID璁剧疆鑼冨洿涓�1~999锛�");
         return;
     }
     if (valueList.length == 0) {
@@ -561,16 +561,7 @@
     });
 };
 
-function initDevLibname() {
 
-    $.get("./cgi-bin/do/find_debug_libname", function (data, status) {
-        if (data != null) {
-            renderDevLibname(data);
-        } else {
-            window.parent.notify("绯荤粺鍚庢湡鍗忚搴撳垪琛ㄥけ璐ワ紒");
-        }
-    }, "json");
-}
 
 function renderDevLibname(list) {
     $.each(list, function (index, item) {

--
Gitblit v1.9.3