删除检测消息提醒的弹窗

dev/mobile
Lei OT 2 years ago
parent f0fd4fd758
commit d46bc7b185

@ -28,7 +28,7 @@ function AuthApp() {
]); ]);
useEffect(() => { useEffect(() => {
if (!("Notification" in window)) { if (!("Notification" in window)) {
alert("This browser does not support desktop notification"); // alert("This browser does not support desktop notification");
} else { } else {
Notification.requestPermission(); Notification.requestPermission();
} }

Loading…
Cancel
Save