Merge remote-tracking branch 'origin/kingbase' into kingbase

kingbase
wangxy 10 months ago
commit 5e7e29bfd2

@ -964,6 +964,13 @@
window.location.href = `/system/exam`;
}
};
document.addEventListener('visibilitychange',documentVisililityChange)
function documentVisililityChange (){
alert("检测到您已切换页面,系统将进行强制提交");
if (document.visibilityState === 'hidden'){
submitMethid();
}
}
function submitMethid(sub){
var htmlText = '';
var account = 0; //总得分
@ -1149,7 +1156,6 @@
callInternalFunction: submitMethid
};
}
</script>
</body>

Loading…
Cancel
Save