视频提醒

This commit is contained in:
tdg930622 2025-01-20 14:08:42 +08:00
parent 67bd9d5319
commit 2f8994ba58
2 changed files with 2 additions and 1 deletions

View File

@ -317,7 +317,7 @@ export default {
},
receivePush(message) {
console.log(message, '---接收订阅消息')
// this.$store.commit('setVideoReminder', JSON.stringify(message))
this.$store.commit('setVideoReminder', message.body)
}
}
}

View File

@ -418,6 +418,7 @@ export default {
handler: function (val) {
if (val){
console.log(val, '---视频提前5分钟提醒')
this.videoReminderData = JSON.parse(val)
}
}
}