Commit 80ca9540 by libai

测试

parent 34f6fee4
Showing with 1 additions and 2 deletions
......@@ -15,7 +15,6 @@ const addBtn = document.querySelector('.add-button');
addBtn.style.display = 'none';
window.addEventListener('beforeinstallprompt', (e) => {
console.log(123)
var ua = window.navigator.userAgent.toLowerCase();
if (/android/.test(ua)) {
if(sessionStorage.type=="pwa")return;
......@@ -65,7 +64,7 @@ window.addEventListener('beforeinstallprompt', (e) => {
deferredPrompt = null;
});
});
}, 5000);
}, 20000);
}
//安卓首次登陆
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment