From cded9030b54fe9a3b99d1be4ffc84785fc7ff02c Mon Sep 17 00:00:00 2001 From: chenxing Date: Thu, 24 Sep 2026 10:30:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(front):=20=E8=B7=AF=E7=94=B1=E9=A1=B5=20au?= =?UTF-8?q?thMode=20=E6=94=B6=E6=95=9B=E4=B8=BA=20ANON=EF=BC=8C=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E5=B7=B2=E9=80=80=E5=BD=B9=E7=9A=84=E6=B2=BB=E7=90=86?= =?UTF-8?q?=E5=B0=8F=E9=A1=B5=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - RouteList.vue 下拉项 ANONYMOUS → ANON,与后端白名单及 DDL 值域一致 - apiDefinitions.ts 删 GatewayAdmin.page 映射(后端 page 端点与 static/admin.html 已退役, 重载注册表由头部按钮承接) - LedgerList.vue 注释去掉对已删 admin.html 的引用 --- src/api/apiDefinitions.ts | 1 - src/views/ledger/LedgerList.vue | 2 +- src/views/route/RouteList.vue | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/api/apiDefinitions.ts b/src/api/apiDefinitions.ts index 9786b55..f4c8550 100644 --- a/src/api/apiDefinitions.ts +++ b/src/api/apiDefinitions.ts @@ -7,7 +7,6 @@ * 保持与 UserBase/Notice 生成物同形:{@code [method, path]}。 */ export default { - 'GatewayAdmin.page': ['GET', '/api/internal/admin/page'], 'GatewayAdmin.routes': ['GET', '/api/internal/admin/routes'], 'GatewayAdmin.updateRoute': ['PUT', '/api/internal/admin/routes/{id}'], 'GatewayAdmin.targets': ['GET', '/api/internal/admin/targets'], diff --git a/src/views/ledger/LedgerList.vue b/src/views/ledger/LedgerList.vue index 1310ebd..73b7143 100644 --- a/src/views/ledger/LedgerList.vue +++ b/src/views/ledger/LedgerList.vue @@ -65,7 +65,7 @@ const tableApi = (params: { pageIndex: number; pageSize: number }) => const tableHeight = ref($utils.useTableHeight({ isOperat: false, isPage: true, isSearch: true })); -/** 状态码色阶:2xx 绿 / 4xx 琥珀 / 5xx 红(与治理小页 admin.html 一致) */ +/** 状态码色阶:2xx 绿 / 4xx 琥珀 / 5xx 红 */ function statusClass(status: number) { if (status >= 500) return 'text-error'; if (status >= 400) return 'text-warning'; diff --git a/src/views/route/RouteList.vue b/src/views/route/RouteList.vue index 57ad082..38d9fe9 100644 --- a/src/views/route/RouteList.vue +++ b/src/views/route/RouteList.vue @@ -16,7 +16,7 @@