From ee69e6bd0faf14600681913a41c8ec26fe4d6bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9D=E6=A2=A6=E5=9B=AD?= Date: Wed, 3 Jan 2024 18:26:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E4=BF=AE=E5=A4=8D=E4=B8=93?= =?UTF-8?q?=E9=A2=98=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/archive/list.vue | 6 +- components/layouts/pc/header.vue | 1 + pages/admin/topics.vue | 113 ++++++++++++++++++------------- 3 files changed, 71 insertions(+), 49 deletions(-) diff --git a/components/archive/list.vue b/components/archive/list.vue index 6a28c8f..8095dfa 100644 --- a/components/archive/list.vue +++ b/components/archive/list.vue @@ -12,7 +12,7 @@ d="M12 22c3.859 0 7-3.141 7-7s-3.141-7-7-7c-3.86 0-7 3.141-7 7s3.14 7 7 7zm0-12c2.757 0 5 2.243 5 5s-2.243 5-5 5-5-2.243-5-5 2.243-5 5-5zm-1-8H7v5.518a8.957 8.957 0 0 1 4-1.459V2zm6 0h-4v4.059a8.957 8.957 0 0 1 4 1.459V2z"> - + {{ tag.tagTitle }}
@@ -81,5 +81,9 @@ export default { diff --git a/components/layouts/pc/header.vue b/components/layouts/pc/header.vue index 499b474..3f7a59f 100644 --- a/components/layouts/pc/header.vue +++ b/components/layouts/pc/header.vue @@ -250,6 +250,7 @@ export default { } }, getUnreadNotifications() { + console.log('我执行了') let _ts = this; if (_ts.user) { _ts.$axios.$get('/api/notification/unread').then(function (res) { diff --git a/pages/admin/topics.vue b/pages/admin/topics.vue index c9a6b70..b639fee 100644 --- a/pages/admin/topics.vue +++ b/pages/admin/topics.vue @@ -1,5 +1,8 @@