From 7a46adff3aae94ca4dabc24d9c4921a752d3a827 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期日, 30 七月 2023 23:54:11 +0800 Subject: [PATCH] yxh --- 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