Skip to content

Commit 077aa2b

Browse files
authored
Revert "Feature/attachments (#2160)" (#2166)
This reverts commit 8a9f40b.
1 parent 2e7198c commit 077aa2b

File tree

5 files changed

+2
-60
lines changed

5 files changed

+2
-60
lines changed

docs/web/api/attachments.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/web/api/chat-sender.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,10 @@ spline: ai
88

99
### 基础输入框
1010

11-
受控进行输入/发送等状态管理
12-
13-
{{ chat-sender-base }}
14-
15-
### 附件输入
16-
17-
支持选择附件及展示附件列表,受控进行文件数据管理,示例中模拟了文件上传流程
18-
19-
{{ chat-sender-attachments }}
11+
{{ chat-sender }}
2012

2113
### 输入框自定义
2214

2315
通过`prefix`,`suffix` 可以调整输入框左下角,右下角区域内容扩展。
2416

25-
{{ chat-sender-slot }}
17+
{{ chat-sender-slot }}

docs/web/api/chatbot.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/web/api/fileCard.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

style/web/components/chat/_index.less

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,6 @@
183183
margin-bottom: calc(0px - @comp-margin-l);
184184
padding-bottom: @pop-padding-xxl;
185185

186-
::part(t-attachment-list-wrap) {
187-
// 附件列表区域的内边距:左右使用 @pop-padding-s 变量,上下为0
188-
padding: 0 @pop-padding-s;
189-
}
190-
191186
&:empty {
192187
display: none;
193188
}

0 commit comments

Comments
 (0)