فهرست منبع

词云停用词表bug

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