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

@ -534,7 +534,7 @@
if (Notification.permission === 'granted') {
notification = new Notification(title, options); // 显示通知
} else if (Notification.permission === 'default') {
} else {
var promise = Notification.requestPermission();
}

Loading…
Cancel
Save