This commit is contained in:
linfso 2024-12-25 20:08:46 +08:00
parent 666131a42c
commit 1b0cd974f8

View File

@ -153,7 +153,6 @@ export default {
onMessage(evtStr){
let that=this;
if(evtStr==null||evtStr==undefined){
return;
}
@ -167,8 +166,7 @@ export default {
var messageBody = evt.title;
let noticeId= evt.noticeId;
// this.$notify.closeAll();
Notification.closeAll();
// Notification.closeAll();
// this.speech.speak({ text: messageBody }).then(() => {
// console.log("读取成功");
@ -184,10 +182,8 @@ export default {
onClick: function () {
// 点击跳转的页面
// this.addReadTimes
// that.$notify.closeAll();
Notification.closeAll();
// Notification.closeAll();
that.setAddReadTimes(noticeId);
},
});
},
@ -283,14 +279,12 @@ export default {
/* 查看更多 */
more(type) {
this.visible = false;
if (this.$route.path !== '/user/message' || this.$route.query.type !== type) {
this.$router.push({
path: '/user/message',
query: {
type: type
}
});
}
this.$router.push({
path: '/KFGL/UserNoticeList',
query: {
type: type
}
});
}
}
}