From 519d7b61e18fac20a74ade59d06a96abcee5c4e1 Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 8 Jul 2025 18:55:53 +0800 Subject: [PATCH] md --- src/layout/components/TopNotice/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/layout/components/TopNotice/index.vue b/src/layout/components/TopNotice/index.vue index eb675515..2cc12bbe 100644 --- a/src/layout/components/TopNotice/index.vue +++ b/src/layout/components/TopNotice/index.vue @@ -162,9 +162,7 @@ export default { return; } - - - // this.playTone(); + console.log("==>=onMessage==>",evt); var messageBody = evt.title; let noticeId= evt.noticeId; @@ -192,6 +190,10 @@ export default { // this.addReadTimes // Notification.closeAll(); that.setAddReadTimes(noticeId); + that.$router.push({ + path: evt.clickPath, + }); + }, });