fix: hide custom font option when system font is enabled
This commit is contained in:
@@ -51,10 +51,12 @@ spec:
|
|||||||
- $formkit: checkbox
|
- $formkit: checkbox
|
||||||
label: 使用系统字体
|
label: 使用系统字体
|
||||||
name: system_font_enable
|
name: system_font_enable
|
||||||
|
id: system_font_enable
|
||||||
value: false
|
value: false
|
||||||
help: 开启后将优先使用访问者的系统字体
|
help: 开启后将优先使用访问者的系统字体
|
||||||
|
|
||||||
- $formkit: checkbox
|
- $formkit: checkbox
|
||||||
|
if: "$get(system_font_enable).value != true"
|
||||||
name: custom_font_enable
|
name: custom_font_enable
|
||||||
id: custom_font_enable
|
id: custom_font_enable
|
||||||
label: 启用自定义字体文件
|
label: 启用自定义字体文件
|
||||||
|
|||||||
Reference in New Issue
Block a user