Explorar o código

服务端刷题

mzx16822 %!s(int64=6) %!d(string=hai) anos
pai
achega
a9436ec3e6
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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;