瀏覽代碼

服务端刷题

mzx16822 6 年之前
父節點
當前提交
a9436ec3e6
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      resources/views/home/user.blade.php

+ 4 - 1
resources/views/home/user.blade.php

@@ -249,7 +249,8 @@ function daoshu(argument) {
                 var py2_score = parseInt($("#py2_score").html());
                 if(data.is_end == 1){
                   //结算
-                   clearInterval(ts)
+                  setTimeout(function (argument) {
+                    clearInterval(ts)
                    $(".g-doc .g-inner").addClass("end");
                    $("#Jvs").hide();
                   
@@ -280,6 +281,8 @@ function daoshu(argument) {
                   cur_question = 1;
                   room_id = 0;
                    
+                  },1000)
+                   
                   
                  
                   return false;