md
This commit is contained in:
parent
666131a42c
commit
1b0cd974f8
@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user