From e4ad03a744145f078086c19dd749a1d9e5ff57ca Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Wed, 8 Jun 2022 18:37:55 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cool/index.ts | 2 +- .../base/pages/layout/components/topbar.vue | 5 + src/modules/chat/components/index.vue | 130 ++++++++++++++++++ src/modules/chat/components/message.vue | 69 ++++++++++ src/modules/chat/components/session.vue | 130 ++++++++++++++++++ src/modules/chat/hooks/index.ts | 16 +++ 6 files changed, 351 insertions(+), 1 deletion(-) create mode 100644 src/modules/chat/components/index.vue create mode 100644 src/modules/chat/components/message.vue create mode 100644 src/modules/chat/components/session.vue create mode 100644 src/modules/chat/hooks/index.ts diff --git a/src/cool/index.ts b/src/cool/index.ts index d415dad..ec53e1c 100644 --- a/src/cool/index.ts +++ b/src/cool/index.ts @@ -3,4 +3,4 @@ export * from "./bootstrap"; export * from "./hook"; export * from "./router"; export * from "./config"; -export { storage } from "./utils"; +export { storage, module } from "./utils"; diff --git a/src/modules/base/pages/layout/components/topbar.vue b/src/modules/base/pages/layout/components/topbar.vue index 3941c83..2e41854 100644 --- a/src/modules/base/pages/layout/components/topbar.vue +++ b/src/modules/base/pages/layout/components/topbar.vue @@ -19,6 +19,10 @@