From f4283d37e6c59011eaeda2f33fce9cad80e42f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= Date: Tue, 26 Aug 2025 15:46:37 +0800 Subject: [PATCH] v2.6.7 --- web/html/inbounds.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/web/html/inbounds.html b/web/html/inbounds.html index 58d2d07a..7bb18c08 100644 --- a/web/html/inbounds.html +++ b/web/html/inbounds.html @@ -701,7 +701,7 @@ }, { title: '{{ i18n "pages.inbounds.remark" }}', align: 'center', - width: 60, + width: 50, dataIndex: "remark", }, { title: '{{ i18n "pages.inbounds.port" }}', @@ -716,13 +716,19 @@ }, { title: '{{ i18n "clients" }}', align: 'left', - width: 50, + width: 40, scopedSlots: { customRender: 'clients' }, }, { title: '{{ i18n "pages.inbounds.traffic" }}', align: 'center', - width: 60, + width: 50, scopedSlots: { customRender: 'traffic' }, + }, { + title: '{{ i18n "pages.inbounds.deviceLimit" }}', + dataIndex: "deviceLimit", + align: "center", + width: 40, + customRender: (text) => (text > 0 ? text : i18n("pages.inbounds.unlimited")), }, { title: '{{ i18n "pages.inbounds.expireDate" }}', align: 'center', @@ -1113,6 +1119,8 @@ remark: dbInbound.remark, enable: dbInbound.enable, expiryTime: dbInbound.expiryTime, + // 新增这一行 + deviceLimit: dbInbound.deviceLimit, listen: inbound.listen, port: inbound.port, @@ -1137,6 +1145,8 @@ remark: dbInbound.remark, enable: dbInbound.enable, expiryTime: dbInbound.expiryTime, + // 新增这一行 + deviceLimit: dbInbound.deviceLimit, listen: inbound.listen, port: inbound.port, @@ -1630,4 +1640,4 @@ }, }); -{{ template "page/body_end" .}} \ No newline at end of file +{{ template "page/body_end" .}}