natasha 1 年間 前
コミット
dac7a4fb2d
1 ファイル変更5 行追加0 行削除
  1. 5 0
      public/ciyun/ciyunindex.html

+ 5 - 0
public/ciyun/ciyunindex.html

@@ -357,6 +357,7 @@
     <script type="text/javascript">
         var stopWordList = null;
         var oldstopWordList = [];
+        var submitFlag = true
         $(function() {
             initStopWords();
             jiekouData();
@@ -436,6 +437,10 @@
                     ciyunData = res.data_list
                     text = str
                     $("#text").val(text);
+                    if (submitFlag) {
+                        $("#go").trigger("click");
+                        submitFlag = false
+                    }
                     // $("#go").trigger("click");
                     console.log("2022-11-09 14点55分");
                 }