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 字段

-
+