From 28de79b44655118b1deffb5c9a8b06ec2904905b Mon Sep 17 00:00:00 2001
From: suerprisePlus <15810472099@163.com>
Date: 星期四, 13 六月 2024 17:38:24 +0800
Subject: [PATCH] 功能添加

---
 public/config/config.js |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/public/config/config.js b/public/config/config.js
index c26007a..67edbb5 100644
--- a/public/config/config.js
+++ b/public/config/config.js
@@ -1,11 +1,15 @@
-const isWeb = location.href.indexOf("web") > -1;
-
-var hostname = isWeb ? "" : location.hostname;
-var port = isWeb ? "" : location.port;
-var web = isWeb ? "/web" : "";
-var iisHost = "http://" + hostname + ":" + port + web;
-
-const config = {
-  ifreamLogin: iisHost + "/mapscreen/index.html",
-  jsonUrl: iisHost + "/data/json/",
-};
+const isWeb = location.href.indexOf("StressTest") > -1;
+var hostname = isWeb ? "" : location.hostname;
+var port = isWeb ? "" : location.port;
+var web = isWeb ? "/StressTest" : "";
+var iisHost = "http://" + hostname + ":" + port + web;
+ 
+const config = {
+  ifreamLogin: iisHost + "/mapscreen/index.html",
+  jsonUrl: iisHost + "/data/json/",
+  // 绾块潰鍐涙爣閰嶇疆"10-26400-1",
+  xmjb:["10-35000-1","10-33400-1","10-33401-1","10-33402-1","10-33403-1","10-33404-1",
+  "10-35000-0","10-34400-1","10-34500-1","10-34501-1","10-34700-1","10-34900-1","10-34901-1",
+"10-29100-1"],
+};
+ 
\ No newline at end of file

--
Gitblit v1.9.3