🛸 Sync 2026-10-29 02:04:12

This commit is contained in:
github-actions[bot] committed 2026-10-29 02:04:12 +08:00
1 parent b21929fceb
commit bfd56813e0
37 files changed
+3918 -4346

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-isp-split
PKG_VERSION:=0.2.1
PKG_RELEASE:=2
PKG_VERSION:=0.2.2
PKG_RELEASE:=3
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=jihebube <jihebube@users.noreply.github.com>
@@ -131,6 +131,10 @@ return view.extend({
out.split('\n').forEach(function(line) {
if (!line)
return;
/* 注释行不是数据行(B-1)。conf get 已在 shell 侧过滤,
这里再挡一次,避免旧版脚本或手工拼接的输出被渲染成红行。 */
if (/^\s*#/.test(line))
return;
var f = line.split('\t');
if (f[0] === 'dns_mode')
model.mode = (f[1] || 'bind').trim();
@@ -354,7 +354,13 @@ return view.extend({
box.removeChild(box.firstChild);
var rows = (this.status || []).filter(function(r) {
return r && r.set !== '兜底';
/* B-1:注释行不是运营商行。shell 侧已过滤,这里兜底,
防止旧脚本/手工数据在总览页多出一张卡片。 */
if (!r || r.set === '兜底')
return false;
if (/^\s*#/.test(String(r.set || '')) || /^\s*#/.test(String(r.src || '')))
return false;
return true;
});
if (!rows.length) {