qinpeng 2 роки тому
батько
коміт
6edf18d270
1 змінених файлів з 3 додано та 2 видалено
  1. 3 2
      public/ciyun/ciyunindex.html

+ 3 - 2
public/ciyun/ciyunindex.html

@@ -487,9 +487,10 @@
                 contentType: "application/json;charset=UTF-8",
                 dataType: "json",
                 type: "post",
-                success: function (data) {
+                success: function (res) {
+                    console.log(res);
                     let arr = []
-                    data.data.result.forEach(item => {
+                    res.data.result.forEach(item => {
                         arr.push(item.word)
                     })
                     oldstopWordList = JSON.parse(JSON.stringify(arr))