From 23d303863fb7bb7f6652829e166cbc0ca62420a3 Mon Sep 17 00:00:00 2001 From: Erzbir Date: Mon, 17 Aug 2026 15:51:27 +0800 Subject: [PATCH] fix: hide custom font option when system font is enabled --- settings.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings.yaml b/settings.yaml index a8c84bb..4f6ec7e 100644 --- a/settings.yaml +++ b/settings.yaml @@ -51,10 +51,12 @@ spec: - $formkit: checkbox label: 使用系统字体 name: system_font_enable + id: system_font_enable value: false help: 开启后将优先使用访问者的系统字体 - $formkit: checkbox + if: "$get(system_font_enable).value != true" name: custom_font_enable id: custom_font_enable label: 启用自定义字体文件