From 08ab73a4f16f906558e3457bf3cf5da0e720fe5f Mon Sep 17 00:00:00 2001 From: im0o <0ojixueseno0@gmail.com> Date: Mon, 10 Aug 2026 19:13:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=85=A5=E7=AB=99=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E6=98=BE=E7=A4=BA=E6=95=B4=E5=9D=97=E5=87=BA=E7=AB=99?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 它由配置顶层的端口字段声明,没有 proxy 字段可写,画一排点不了的卡片只会让人以为 是坏了。之前藏掉这块会让面板变空,所以留着;现在「流量去向」那一节顶上来了, 默认入站照样有内容可看——它的流量去向由规则表决定,那一节反而是它唯一相关的部分。 「默认」标记和不给删除本来就有:列表里带 tag,详情里不显示编辑和删除按钮。 --- web/views/InboundDetail.vue | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/web/views/InboundDetail.vue b/web/views/InboundDetail.vue index d5dc1bd..76e57a8 100644 --- a/web/views/InboundDetail.vue +++ b/web/views/InboundDetail.vue @@ -36,7 +36,10 @@ const emit = defineEmits<{ test: [name: string] }>() -/** 默认入站没有 proxy 字段可写,「出站」那一块对它是只读的。 */ +/** + * 默认入站由配置顶层的端口字段声明,没有 proxy 字段可写,也不能删。 + * 它的「出站」和编辑删除按钮都不显示。 + */ const locked = computed(() => props.inbound.isDefault) function describe(name: string): string { @@ -65,7 +68,6 @@ const BUILTINS: Array<{ mode: OutboundMode; label: string; sub: string }> = [ ] const LINE_LOCKED = '订阅线路无法被入站直接引用,需要通过筛选组间接引入。该功能尚未实现。' -const NO_PROXY_FIELD = '该入站没有 proxy 字段' - -
+ +

出站

-

{{ inbound.legacyKey }} 没有 proxy 字段

-
+