|
@@ -467,7 +467,7 @@ function checkCounts() {
|
|
localStorage.setItem('notification-login-clear-info', datas.id)
|
|
localStorage.setItem('notification-login-clear-info', datas.id)
|
|
var notify = new Notification(datas.title,{
|
|
var notify = new Notification(datas.title,{
|
|
icon: '../images/t3_new.jpg',
|
|
icon: '../images/t3_new.jpg',
|
|
- body: datas.content
|
|
|
|
|
|
+ body: datas.show_content || datas.content || ''
|
|
})
|
|
})
|
|
// 点击时桌面消息时触发
|
|
// 点击时桌面消息时触发
|
|
notify.onclick = function () {
|
|
notify.onclick = function () {
|