natasha 1 year ago
parent
commit
68841005a6
1 changed files with 12 additions and 6 deletions
  1. 12 6
      public/ciyun/ciyunindex.html

+ 12 - 6
public/ciyun/ciyunindex.html

@@ -361,6 +361,7 @@
         $(function() {
             initStopWords();
             jiekouData();
+            getdata()
         })
         let query = location.href.split("?");
         let arr = query[1].split("&");
@@ -570,7 +571,12 @@
         }
 
         $("#go").click(function() {
-            getdata()
+            if (submitFlag) {
+                getdata()
+            } else {
+                submitFlag = true
+            }
+
         })
 
         $(".rule div").click(function() {
@@ -623,21 +629,21 @@
                 $("#angle-from").val(0);
                 $("#angle-to").val(0);
                 $("#angle-count").val(1);
-                inChange();
+                // inChange();
                 // $("#go").click();
                 $("#angles svg").remove();
             } else if (value == 2) {
                 $("#angle-from").val(90)
                 $("#angle-to").val(90)
                 $("#angle-count").val(1);
-                inChange();
+                // inChange();
                 // $("#go").click();
                 $("#angles svg").remove();
             } else if (value == 3) {
                 $("#angle-from").val(0)
                 $("#angle-to").val(90)
                 $("#angle-count").val(2);
-                inChange();
+                // inChange();
                 // $("#go").click();
                 $("#angles svg").remove();
             }
@@ -692,7 +698,7 @@
             } else {
                 $stop.addClass("checkbox-active");
             }
-            // jiekouData()
+            jiekouData()
 
         })
         $(".biglittle").click(function() {
@@ -728,7 +734,7 @@
                 isSelectLemma = false;
             }
             W_stopWordStatus = stopWordStatus
-            getdata()
+                // getdata()
         }
 
         function replaceStop(words, stopWordList) {