Browse Source

按键程序

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

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

@@ -422,10 +422,10 @@ var rules={
                 onEnterPress:function () {
                   // body...
                   if(main.current.classList.contains("item")){
-                    var ischeck=false
+                    var ischeck=true
                     for (var i = 0; i < this.hotbtn.length; i++) {
                       if(this.hotbtn[i].classList.contains("cur_answer")){
-                        ischeck=true;
+                        ischeck=false;
                       }
                     }
                     if(ischeck){