From be0a514a5490ac1ba5b7c5ada15ff7b281483612 Mon Sep 17 00:00:00 2001 From: Shigma Date: Fri, 17 May 2024 00:46:20 +0800 Subject: [PATCH] feat(chat): basic support for message list --- packages/chat/client/index.ts | 1 - packages/chat/client/index.vue | 64 +++++++++++++++++++++++++++++----- 2 files changed, 56 insertions(+), 9 deletions(-) diff --git a/packages/chat/client/index.ts b/packages/chat/client/index.ts index 708d224..5ee7b75 100644 --- a/packages/chat/client/index.ts +++ b/packages/chat/client/index.ts @@ -35,7 +35,6 @@ export default class ChatService extends Service { result[key].assignees.push(data.bot.sid!) } } - console.log(1, result, this.logins) return result }) diff --git a/packages/chat/client/index.vue b/packages/chat/client/index.vue index f537a39..f92c565 100644 --- a/packages/chat/client/index.vue +++ b/packages/chat/client/index.vue @@ -5,7 +5,7 @@ +
+ bg-gray-700 bg-op-0 hover:bg-op-100 transition cursor-pointer" + @click="setChannel(channel)" + > {{ channel.name }}
@@ -25,7 +28,7 @@
+ + +