Skip to content

Commit

Permalink
update: 更新配置项,新增审核模式模拟数据地址参数
Browse files Browse the repository at this point in the history
  • Loading branch information
okay-xiaomo committed Oct 28, 2024
1 parent 1c215ef commit 802629b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ halo:
- "/path/to/plugin-starter"
```
最后重启 Halo 项目即可。
最后重启 Halo 项目即可。
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.0.5
version=1.0.6
8 changes: 8 additions & 0 deletions src/main/resources/extensions/setting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ spec:
formSchema:
- $formkit: radio
name: auditModeEnabled
id: auditModeEnabled
label: 是否开启审核模式
help: 开启审核模式,关闭小程序部分数据展示,小程序提交审核使建议开启,审核后关闭。
value: false
Expand All @@ -18,6 +19,13 @@ spec:
- label: 关闭
value: false
validation: required
- $formkit: text
if: "$get(auditModeEnabled).value === true"
name: auditModeMockUrl
label: 模拟数据地址
value: ""
validation: required
help: "填写模拟数据的url地址,参考数据格式和说明:https://uni-halo.925i.cn/deploy/wx-release.html"
- $formkit: group
name: copyrightConfig
label: 页面版权配置
Expand Down

0 comments on commit 802629b

Please sign in to comment.