md
This commit is contained in:
parent
5a86cef7c5
commit
c5cbae055f
@ -296,8 +296,8 @@ export default {
|
|||||||
that.msgMap[msgKey]=1;
|
that.msgMap[msgKey]=1;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$notify.closeAll();
|
// this.$notify.closeAll();
|
||||||
Notification.closeAll()
|
Notification.closeAll();
|
||||||
|
|
||||||
Notification.info({
|
Notification.info({
|
||||||
title: "通知:"+msgData.title,
|
title: "通知:"+msgData.title,
|
||||||
|
|||||||
@ -162,11 +162,12 @@ export default {
|
|||||||
|
|
||||||
var messageBody = evt.title;
|
var messageBody = evt.title;
|
||||||
let noticeId= evt.noticeId;
|
let noticeId= evt.noticeId;
|
||||||
this.$notify.closeAll();
|
// this.$notify.closeAll();
|
||||||
|
Notification.closeAll();
|
||||||
|
|
||||||
this.speech.speak({ text: messageBody }).then(() => {
|
// this.speech.speak({ text: messageBody }).then(() => {
|
||||||
console.log("读取成功");
|
// console.log("读取成功");
|
||||||
});
|
// });
|
||||||
|
|
||||||
Notification.info({
|
Notification.info({
|
||||||
title: "系统通知",
|
title: "系统通知",
|
||||||
@ -178,8 +179,8 @@ export default {
|
|||||||
onClick: function () {
|
onClick: function () {
|
||||||
// 点击跳转的页面
|
// 点击跳转的页面
|
||||||
// this.addReadTimes
|
// this.addReadTimes
|
||||||
that.$notify.closeAll();
|
// that.$notify.closeAll();
|
||||||
|
Notification.closeAll();
|
||||||
this.setAddReadTimes(noticeId);
|
this.setAddReadTimes(noticeId);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user