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" .}}