修复错误

This commit is contained in:
wityue 2023-11-27 18:38:45 +08:00
parent d59f131fb3
commit 5f5ad39dc3
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
}); });
ajaxHooker.filter([ ajaxHooker.filter([
{ {
url: /^https:\/\/(oc-test|demo)\.cloudlong.cn/, url: /^https:\/\/(oc-test|demo|oc-rel)\.onecontract-cloud.com/,
async: true, async: true,
}, },
]); ]);
@ -65,7 +65,7 @@
Date.now() - win.lastResponseEndTime > 80 Date.now() - win.lastResponseEndTime > 80
) { ) {
if (document.getElementById("networkIdleMask")) { if (document.getElementById("networkIdleMask")) {
if ( !win.domStatus && now - win.lastDomEndTime > 100 ){ if ( !win.domStatus && Date.now() - win.lastDomEndTime > 100 ){
document.getElementById("networkIdleMask").remove(); document.getElementById("networkIdleMask").remove();
clearInterval(intervalId); clearInterval(intervalId);
} }