This commit is contained in:
心隨緣動 2025-08-26 15:46:37 +08:00 committed by GitHub
parent c0ac4c4b7d
commit f4283d37e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -701,7 +701,7 @@
}, { }, {
title: '{{ i18n "pages.inbounds.remark" }}', title: '{{ i18n "pages.inbounds.remark" }}',
align: 'center', align: 'center',
width: 60, width: 50,
dataIndex: "remark", dataIndex: "remark",
}, { }, {
title: '{{ i18n "pages.inbounds.port" }}', title: '{{ i18n "pages.inbounds.port" }}',
@ -716,13 +716,19 @@
}, { }, {
title: '{{ i18n "clients" }}', title: '{{ i18n "clients" }}',
align: 'left', align: 'left',
width: 50, width: 40,
scopedSlots: { customRender: 'clients' }, scopedSlots: { customRender: 'clients' },
}, { }, {
title: '{{ i18n "pages.inbounds.traffic" }}', title: '{{ i18n "pages.inbounds.traffic" }}',
align: 'center', align: 'center',
width: 60, width: 50,
scopedSlots: { customRender: 'traffic' }, 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" }}', title: '{{ i18n "pages.inbounds.expireDate" }}',
align: 'center', align: 'center',
@ -1113,6 +1119,8 @@
remark: dbInbound.remark, remark: dbInbound.remark,
enable: dbInbound.enable, enable: dbInbound.enable,
expiryTime: dbInbound.expiryTime, expiryTime: dbInbound.expiryTime,
// 新增这一行
deviceLimit: dbInbound.deviceLimit,
listen: inbound.listen, listen: inbound.listen,
port: inbound.port, port: inbound.port,
@ -1137,6 +1145,8 @@
remark: dbInbound.remark, remark: dbInbound.remark,
enable: dbInbound.enable, enable: dbInbound.enable,
expiryTime: dbInbound.expiryTime, expiryTime: dbInbound.expiryTime,
// 新增这一行
deviceLimit: dbInbound.deviceLimit,
listen: inbound.listen, listen: inbound.listen,
port: inbound.port, port: inbound.port,
@ -1630,4 +1640,4 @@
}, },
}); });
</script> </script>
{{ template "page/body_end" .}} {{ template "page/body_end" .}}