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