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