mirror of https://github.com/halo-dev/halo
feat: improve the help tips for system setting options (#5516)
#### What type of PR is this? /area core /kind improvement /milestone 2.14.0 #### What this PR does / why we need it: improve the help tips for system setting options <img width="612" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/9f97a4d7-09f7-4671-8a4e-f4ab7dc8dcbd"> #### Which issue(s) this PR fixes: Fixes #5513 #### Does this PR introduce a user-facing change? ```release-note 完善系统设置选项的帮助提示。 ```pull/5526/head
parent
21bc7fee8a
commit
bf81f29fbc
|
@ -68,14 +68,17 @@ spec:
|
|||
value: 'shortUUID'
|
||||
- label: 'UUID'
|
||||
value: 'UUID'
|
||||
help: 此选项仅在创建文章时生效,修改此选项不会影响已有文章
|
||||
- $formkit: attachmentPolicySelect
|
||||
name: attachmentPolicyName
|
||||
label: "附件存储策略"
|
||||
value: "default-policy"
|
||||
help: 用于指定在文章编辑器中上传的默认附件存储策略
|
||||
- $formkit: attachmentGroupSelect
|
||||
name: attachmentGroupName
|
||||
label: "附件存储组"
|
||||
value: ""
|
||||
help: 用于指定在文章编辑器中上传的默认附件存储分组
|
||||
- group: seo
|
||||
label: SEO 设置
|
||||
formSchema:
|
||||
|
@ -104,10 +107,12 @@ spec:
|
|||
- $formkit: roleSelect
|
||||
name: defaultRole
|
||||
label: "默认角色"
|
||||
help: 用户注册之后默认为用户分配的角色
|
||||
- $formkit: attachmentPolicySelect
|
||||
name: avatarPolicy
|
||||
label: "头像存储位置"
|
||||
value: "default-policy"
|
||||
help: 指定用户上传头像的存储策略
|
||||
- group: comment
|
||||
label: 评论设置
|
||||
formSchema:
|
||||
|
@ -119,6 +124,7 @@ spec:
|
|||
name: requireReviewForNew
|
||||
value: true
|
||||
label: "新评论审核"
|
||||
help: 开启之后,新评论需要管理员审核后才会显示
|
||||
- $formkit: checkbox
|
||||
name: systemUserOnly
|
||||
value: true
|
||||
|
|
Loading…
Reference in New Issue