This commit is contained in:
liyuchun
2021-10-09 15:22:57 +08:00
parent 73d16a8128
commit 5945717a55
+1 -1
View File
@@ -674,7 +674,7 @@ function notifyMessage(data)
}
else if(Notification.permission != "denied")
{
Notification.requestPermission(function(permission)
Notification.requestPermission().then(function(permission)
{
notify = new Notification("", {body:message, tag:'zentao', data:data});
});