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() + } } }) },