From cabc3c843fbda79fbe0678530d02c1a5216a9e81 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Sun, 21 Jan 2024 10:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B6=88=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/cmd/server/main.go | 5 ++- site/src/components/MsgNotice.vue | 59 +++++-------------------------- 2 files changed, 12 insertions(+), 52 deletions(-) diff --git a/server/cmd/server/main.go b/server/cmd/server/main.go index a4d23ddfd..5d076f2fc 100644 --- a/server/cmd/server/main.go +++ b/server/cmd/server/main.go @@ -1,6 +1,9 @@ package main -import "bbs-go/internal/server" +import ( + "bbs-go/internal/server" + _ "bbs-go/internal/services/eventhandler" +) func main() { server.Init() diff --git a/site/src/components/MsgNotice.vue b/site/src/components/MsgNotice.vue index adb2efe4e..9da22c9ea 100644 --- a/site/src/components/MsgNotice.vue +++ b/site/src/components/MsgNotice.vue @@ -12,43 +12,27 @@ {{ msgcount > 9 ? "9+" : msgcount }} -