Browse Source

错误不刷新题目

mzx16822 6 years ago
parent
commit
a706d912c7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/views/home/user.blade.php

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

@@ -233,6 +233,7 @@ layui.use(['form','jquery'], function(){
                   var a =setTimeout(function(argument) {
                     getQuestion(room_id, cur_question);
                   },1000)
+                  clearInterval(ts)
                   
                 }