Skip to content

Commit af6cca2

Browse files
committed
docs: update README to clarify items property description in attachments
1 parent 1041120 commit af6cca2

File tree

1 file changed

+1
-1
lines changed
  • packages/pro-components/chat/attachments

1 file changed

+1
-1
lines changed

packages/pro-components/chat/attachments/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ isComponent: true
4949

5050
名称 | 类型 | 默认值 | 描述 | 必传
5151
-- | -- | -- | -- | --
52-
items | Array | [] | 文件列表数据,每个元素需包含fileType/name/url/size等属性 | Y
52+
items | Array | [] | 附件列表。TS类型:FileItem[] | Y
5353
removable | Boolean | true | 是否显示删除按钮 | N
5454
imageViewer | Boolean | true | 是否启用图片预览功能 | N
5555
addable | Boolean | true | 是否显示添加按钮 | N

0 commit comments

Comments
 (0)