我正在使用网络通知。现在它可能会发生,2 个通知将接连生成。在 Chrome(最新版本)中,有时图标不会显示。
仅当我使用内部图像时才会发生这种情况...
//this is a test icon
for(i=0; i<2; i++){
new Notification("Test",{
icon:"https://someInternal.png",
body:"TEST"
});
}
我正在使用网络通知。现在它可能会发生,2 个通知将接连生成。在 Chrome(最新版本)中,有时图标不会显示。
仅当我使用内部图像时才会发生这种情况...
//this is a test icon
for(i=0; i<2; i++){
new Notification("Test",{
icon:"https://someInternal.png",
body:"TEST"
});
}