Skip to content

Commit 0951d78

Browse files
authored
docs(developer-guide/form-schema): Update itemLabels type (#531)
同步 halo-dev/halo#8014 ```release-note None ```
1 parent 26c42e7 commit 0951d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/developer-guide/form-schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ UI 效果:
649649
- `addLabel`:添加按钮上显示的文本
650650
- `addAttrs`:添加按钮的额外属性
651651
- `emptyText`: 当数组为空时显示的文本
652-
- `itemLabels`: 列表元素上显示的内容,数据类型为 `{ type: "image" | "text"; label: string }[]`
652+
- `itemLabels`: 列表元素上显示的内容,数据类型为 `{ type: "image" | "text" | "iconify"; label: string }[]`
653653

654654
:::tip
655655
强烈建议为 `array` 设置 `itemLabels` 属性,以便于更直观的展示元素内容,设置的元素内容将按照设置顺序展示在列表元素上。

0 commit comments

Comments
 (0)