Parcourir la source

服务端刷题

mzx16822 il y a 6 ans
Parent
commit
073cc0ebdc
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      resources/views/home/user.blade.php

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

@@ -295,7 +295,10 @@ function daoshu(argument) {
               break;
           // 当mvc框架调用GatewayClient发消息时直接alert出来
           case "question":
-            loadQuestion(data);
+          setTimeout(function(argument) {
+           loadQuestion(data);
+          },1000);
+            
           default :
              // alert(e.data);
       }