From 42f63fbe24e693f5942b315a312e837e378d1994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 26 Mar 2026 15:34:02 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=B6=88=E6=81=AF=E7=B1=BB=E5=9E=8B=20?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=9D=A5=E6=BA=90=20=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E8=B7=AF=E5=BE=84=E7=AD=89=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/notice/index.vue | 27 ++++++++++++--- src/store/modules/notice.ts | 10 ++++-- src/utils/push-message.ts | 47 ++++++++++++++++++++++++++ src/utils/sse.ts | 33 ++++++++++++------ src/utils/websocket.ts | 35 ++++++++++++------- 5 files changed, 123 insertions(+), 29 deletions(-) create mode 100644 src/utils/push-message.ts diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index 697ab9c..cd4d2ec 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -8,8 +8,9 @@