Skip to content

Commit 6a66e37

Browse files
committed
fix: rendering issue due to missing default values
Signed-off-by: Ryan Wang <[email protected]>
1 parent 1549f84 commit 6a66e37

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/main/resources/extensions/settings.yaml

+11-8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ spec:
3737
- $formkit: group
3838
name: captcha
3939
label: 验证码
40+
value:
41+
enable: false
42+
type: ALPHANUMERIC
4043
children:
4144
- $formkit: checkbox
4245
label: 匿名评论需要验证码
@@ -68,8 +71,8 @@ spec:
6871
if: "$get(enable).value === true"
6972
name: provider
7073
options:
71-
- label: 'Gravatar'
72-
value: 'gravatar'
74+
- label: "Gravatar"
75+
value: "gravatar"
7376
value: "gravatar"
7477
- $formkit: text
7578
label: 头像服务镜像地址
@@ -82,10 +85,10 @@ spec:
8285
if: "$get(enable).value === true"
8386
name: policy
8487
options:
85-
- label: '仅匿名用户'
86-
value: 'anonymousUser'
87-
- label: '所有用户'
88-
value: 'allUser'
89-
- label: '匿名&无头像用户'
90-
value: 'noAvatarUser'
88+
- label: "仅匿名用户"
89+
value: "anonymousUser"
90+
- label: "所有用户"
91+
value: "allUser"
92+
- label: "匿名&无头像用户"
93+
value: "noAvatarUser"
9194
value: "anonymousUser"

0 commit comments

Comments
 (0)