From c71ae1cf2a41fa59bafdd4f8a5d59bbd2efad0e7 Mon Sep 17 00:00:00 2001 From: qiutianhong Date: Tue, 5 Nov 2024 16:12:19 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9A=E6=96=B0=E5=A2=9E=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E3=80=81=E9=82=80=E8=AF=B7=E8=BF=9B=E7=BE=A4=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E3=80=82=E4=BC=98=E5=8C=96=E6=95=B4=E4=BD=93UI?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=E7=BA=BF=E7=94=A8=E6=88=B7=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E9=A2=84=E8=A7=88=E6=B6=88=E6=81=AF?= =?UTF-8?q?UI=E4=BC=98=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components.d.ts | 3 - frontend/src/components/chat/Chat.vue | 50 ++++--- frontend/src/components/chat/ChatBox.vue | 144 +++++++++++++++---- frontend/src/components/chat/ChatMessage.vue | 3 +- frontend/src/components/chat/ChatMsgList.vue | 3 +- frontend/src/stores/chat.ts | 93 +++++++++--- 6 files changed, 217 insertions(+), 79 deletions(-) diff --git a/frontend/components.d.ts b/frontend/components.d.ts index 048fa33..522afce 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -61,9 +61,6 @@ declare module 'vue' { ElContainer: typeof import('element-plus/es')['ElContainer'] ElDialog: typeof import('element-plus/es')['ElDialog'] ElDrawer: typeof import('element-plus/es')['ElDrawer'] - ElDropdown: typeof import('element-plus/es')['ElDropdown'] - ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] - ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] ElEmpty: typeof import('element-plus/es')['ElEmpty'] ElFooter: typeof import('element-plus/es')['ElFooter'] ElForm: typeof import('element-plus/es')['ElForm'] diff --git a/frontend/src/components/chat/Chat.vue b/frontend/src/components/chat/Chat.vue index a896ee6..d714b65 100644 --- a/frontend/src/components/chat/Chat.vue +++ b/frontend/src/components/chat/Chat.vue @@ -26,7 +26,6 @@ } }); - // 监听搜索输入并更新 searchList watch( () => store.searchInput, @@ -103,14 +102,16 @@ +
-
+