|
|
@ -42,6 +42,32 @@ if (isDev) {
|
|
|
|
//ebugType="teacher";
|
|
|
|
//ebugType="teacher";
|
|
|
|
// 学生
|
|
|
|
// 学生
|
|
|
|
//debugType="student";
|
|
|
|
//debugType="student";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Return_Reload() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var isPageHide = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.addEventListener('pageshow', function () {
|
|
|
|
|
|
|
|
if (isPageHide) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.location.reload();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.addEventListener('pagehide', function () {
|
|
|
|
|
|
|
|
isPageHide = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Return_Reload();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function railsgettimes(proxy) {
|
|
|
|
function railsgettimes(proxy) {
|
|
|
|
if(timestamp&&checkSubmitFlg===false){
|
|
|
|
if(timestamp&&checkSubmitFlg===false){
|
|
|
|
$.ajax({url:proxy,async:false,success:function(data){
|
|
|
|
$.ajax({url:proxy,async:false,success:function(data){
|
|
|
|