From 98a9e5c666b6ea0562fa9494a27e0e3068f85206 Mon Sep 17 00:00:00 2001 From: sagitchu Date: Mon, 2 Mar 2026 21:36:33 +0800 Subject: [PATCH] fix(config): expose forward compact mode switch in settings --- vite-frontend/src/pages/config.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vite-frontend/src/pages/config.tsx b/vite-frontend/src/pages/config.tsx index 9554d49..0726f26 100644 --- a/vite-frontend/src/pages/config.tsx +++ b/vite-frontend/src/pages/config.tsx @@ -117,6 +117,12 @@ const CONFIG_ITEMS: ConfigItem[] = [ description: "用于浏览器标签页图标,上传后会自动转换为 PNG 并持久化保存", type: "input", }, + { + key: "forward_compact_mode", + label: "转发页面精简模式", + description: "开启后,转发页面列表使用 2.1.6-alpha8 样式(全局配置)", + type: "switch", + }, { key: "captcha_enabled", label: "启用验证码", @@ -167,6 +173,7 @@ const getInitialConfigs = (): Record => { "captcha_enabled", "cloudflare_site_key", "cloudflare_secret_key", + "forward_compact_mode", "ip", "panel_domain", "app_logo",