This commit is contained in:
linfso 2024-12-13 09:30:10 +08:00
parent 5a86cef7c5
commit c5cbae055f
2 changed files with 9 additions and 8 deletions

View File

@ -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,

View File

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