Skip to content

Commit f05f543

Browse files
committed
fix(docs): 添加 avatarSize 属性
1 parent 38c1f0f commit f05f543

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/src/en/components/bubble-list.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,20 @@ Basic usage of the message list component to display multiple messages.
3434
content: 'Hello, I am an AI assistant. How can I help you?',
3535
placement: 'start',
3636
avatar: 'https://game.gtimg.cn/images/lol/act/img/tft/equip/HandofJustice.png',
37+
avatarSize: 40,
3738
},
3839
{
3940
content: 'I want to learn how to use the Element UI component library',
4041
placement: 'end',
4142
avatar: 'https://game.gtimg.cn/images/lol/act/img/tft/equip/tft_set10_emblem_pbj.png',
43+
avatarSize: 40,
4244
},
4345
{
4446
content:
4547
'Element UI is a Vue 2.0-based desktop component library for developers, designers, and product managers, providing rich components and features.',
4648
placement: 'start',
4749
avatar: 'https://game.gtimg.cn/images/lol/act/img/tft/equip/HandofJustice.png',
50+
avatarSize: 40,
4851
},
4952
],
5053
};

docs/src/en/components/sender.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Example of using component instance method calls.
9696
:submit-btn-disabled="submitBtnDisabled"
9797
:loading="senderLoading"
9898
clearable
99+
placeholder="Please enter the content"
99100
@submit="handleSubmit"
100101
@cancel="handleCancel"
101102
/>

0 commit comments

Comments
 (0)