From ba8db1eda8c7c9fc63ed39a4c1b231b451f4e601 Mon Sep 17 00:00:00 2001 From: x_ying <2438792676@qq.com> Date: Thu, 25 Aug 2022 08:44:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E5=90=8C=E6=AD=A5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 63a4561..06283c4 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -204,7 +204,9 @@ export default { if (res) { this.msgList = [] // this.$router.go(0) - this.reload() + if (this.$route.path.includes('user/center') || this.$route.path.includes('system/notifyManage')) { + this.reload() + } } }) },