From 89b43b8b28f1c11040d276346e80e02ba3bf0d93 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 11 Aug 2026 16:06:06 +0000 Subject: [PATCH] chore: auto-fix lint & formatting [skip ci] --- README.zh.md | 2 +- admin/components/ConsolePage.vue | 21 ++++++---- admin/components/GroupEditor.vue | 7 +++- admin/components/RouteCard.vue | 13 +++++- admin/composables/useGroups.ts | 14 ++++++- docs/guide/configuration.md | 38 +++++++++--------- docs/zh/guide/configuration.md | 68 ++++++++++++++++---------------- src/__tests__/invites.test.ts | 57 ++++++++++++++++++++++---- src/lib/audit.ts | 3 +- src/web/action-routes.ts | 9 +---- src/web/admin-routes.ts | 17 ++++---- src/web/auth.ts | 8 ++-- 12 files changed, 160 insertions(+), 97 deletions(-) diff --git a/README.zh.md b/README.zh.md index 958a914..64a2dc5 100644 --- a/README.zh.md +++ b/README.zh.md @@ -65,7 +65,7 @@ npx wrangler dev # 启动本地开发服务器 | `TELEGRAM_RICH_HEADER_HOST` | 可选;覆盖内置 `GET /api/richheader` 的 Telegram 头像卡片地址 | | `BASE_URL` | 公网地址(用于 OAuth 回调与 Telegram webhook 同步) | | `ADMIN_USER_IDS` | 允许访问 `/admin` 的 GitHub 用户 ID(或登录名),逗号分隔 | -| `ALLOW_SELF_SIGNUP` | 设为 `1` 时,无权限的 GitHub 用户首次登录自动获得个人分组(默认关闭) | +| `ALLOW_SELF_SIGNUP` | 设为 `1` 时,无权限的 GitHub 用户首次登录自动获得个人分组(默认关闭) | | `AUDIT_RETENTION_DAYS` | 定时清理时审计日志的保留天数(默认 90) | | `DOCS_URL` | 可选;落地页使用的文档站点 URL | | `GITHUB_REPO_URL` | 可选;落地页使用的 GitHub 仓库 URL | diff --git a/admin/components/ConsolePage.vue b/admin/components/ConsolePage.vue index f4a8abb..d5a4b56 100644 --- a/admin/components/ConsolePage.vue +++ b/admin/components/ConsolePage.vue @@ -73,11 +73,7 @@

{{ t("routes.emptyGroup") }}

-
@@ -134,7 +130,9 @@
{{ g.name || t("route.untitled") }} {{ g.id }} - {{ t("role.badge", { role: t("roles." + roleOf(g.id)) }) }} + {{ + t("role.badge", { role: t("roles." + roleOf(g.id)) }) + }}
-