mzx16822 6 년 전
부모
커밋
e83cf810ea
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      resources/views/home/user.blade.php

+ 3 - 2
resources/views/home/user.blade.php

@@ -165,6 +165,8 @@ layui.use(['form','jquery'], function(){
                 
                 
               }
+              $("#py1_score").html(0);
+              $("#py2_score").html(0);
               break;
           case 'answer':
               console.log(data);
@@ -221,8 +223,7 @@ layui.use(['form','jquery'], function(){
                   cur_question = 1;
                   room_id = 0;
                    
-                  $("#py1_score").html(0);
-                  $("#py2_score").html(0);
+                  
                  
                   return false;
                 }