Skip to content

Commit 39e9c65

Browse files
committed
fix: 修复多个组件示例源码展示问题
1 parent 9bfdbe1 commit 39e9c65

File tree

4 files changed

+23
-11
lines changed

4 files changed

+23
-11
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,22 @@ isComponent: true
2727

2828
### 01 组件类型
2929

30-
#### 基础附件管理
30+
图片类型
3131

3232
{{ base }}
3333

34+
文件类型
35+
36+
{{ file }}
37+
38+
### 02 组件状态
39+
图片类型加载状态
40+
41+
{{ imageLoading }}
42+
43+
文件类型加载状态
44+
{{ fileLoading }}
45+
3446
## API
3547

3648
### Attachments Props

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ isComponent: true
3131
{{ base }}
3232

3333
#### 组合式用法
34-
{{ hookComponent }}
34+
{{ hook-component }}
3535

3636
#### 自定义
3737
{{ custom }}

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ isComponent: true
2525
</blockquote>
2626

2727

28-
### 加载组件
28+
### 01 组件类型
29+
30+
支持多种加载中动效类型,包括 gradient、moving、dots
2931

3032
{{ base }}
3133

32-
### 带文案描述的加载组件
34+
带文案描述的加载组件
3335

3436
{{ text }}
3537

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ isComponent: true
2727

2828
### 01 组件类型
2929

30-
支持通过`maxHeight`来设置展示内容的最大高度,超出会自动滚动;
31-
32-
支持通过`collapsed`来控制面板是否折叠,示例中展示了当内容输出结束时自动收起的效果
30+
- 支持通过`maxHeight`来设置展示内容的最大高度,超出会自动滚动;
31+
- 支持通过`animation`来设置思考内容加载过程的动画效果,包括circle/moving/gradient
32+
- 支持通过`collapsed`来控制面板是否折叠,示例中展示了当内容输出结束时自动收起的效果
3333

3434
{{ base }}
3535

36-
### 03 组件状态
36+
### 02 组件状态
3737
思考中
3838

3939
{{ pending }}
@@ -45,9 +45,7 @@ isComponent: true
4545
### 03 组件样式
4646
支持通过`layout`来设置思考过程的布局方式
4747

48-
支持通过`animation`来设置思考内容加载过程的动画效果
49-
50-
{{ style-set }}
48+
{{ layout }}
5149

5250
## API
5351
### ChatThinking Props

0 commit comments

Comments
 (0)