From 4fbeee3784d4be5483ed7ec9e00a875d66bc9ed0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 20 二月 2024 16:09:40 +0800 Subject: [PATCH] 11 --- src/layout/components/Navbar.vue | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 9cbc66b..166cfcd 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -113,20 +113,20 @@ }; }, mounted() { - this.returs(); + // this.returs(); }, methods: { - async returs() { - await listSystemmessageCount() - .then((res) => { - this.badgeVal = res.data; - - if (this.badgeVal > 0) { - this.isBadgeHidden = false; - } - }) - .catch((error) => {}); - }, +// async returs() { +// await listSystemmessageCount() +// .then((res) => { +// this.badgeVal = res.data; +// console.log('璺�'); +// if (this.badgeVal > 0) { +// this.isBadgeHidden = false; +// } +// }) +// .catch((error) => {}); +// }, clickMessage() { this.$router.push({ path: "/message", -- Gitblit v1.9.3