pull/30/head
陶士涵 4 years ago
parent 7b417e09e1
commit 4dec670b9e

@ -526,7 +526,7 @@
},
notify(title, options, callback) {
// 先检查浏览器是否支持
if (!window.Notification || document.visibilityState != 'hidden') {
if (!window.Notification) {
return;
}
var notification;

Loading…
Cancel
Save