diff --git a/simpleadmin/www/index.html b/simpleadmin/www/index.html
index e0a9315..ebb481e 100644
--- a/simpleadmin/www/index.html
+++ b/simpleadmin/www/index.html
@@ -41,11 +41,6 @@
- -
- 首页
-
-
网络
@@ -743,9 +738,9 @@
// if network provider is composed of numbers and spaces, and no letters then use .split(",")[2]
const mccmncMap = {
- "46000": "中国移动",
- "46001": "中国联通", "46003": "中国电信", "46009": "中国联通",
- "46011": "中国电信", "46015": "中国广电", "46020": "中国铁通"};
+ "46000":"中国移动",
+ "46001":"中国联通", "46003":"中国电信", "46009":"中国联通",
+ "46011":"中国电信", "46015":"中国广电", "46020":"中国铁通"};
// --- MCCMNC ---
this.mccmnc = lines
@@ -753,7 +748,10 @@
.split(",")[4]
.replace(/"/g, "");
- this.networkProvider = mccmncMap[this.mccmnc] || "未知运营商";
+ const mccmncNumber = Number(this.mccmnc);
+
+
+ this.networkProvider = mccmncMap[mccmncNumber] || "未知运营商";
// --- APN ---