Merge branch 'sprint/165_liyuchun_42859' into 'sprint/165'

* Finish task #42859,modify the syntax of Notification.

See merge request easycorp/zentaopms!47
This commit is contained in:
朱金勇
2021-10-10 12:08:18 +00:00
+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});
});