Browse Source

修改提取问题

haojianlong 4 năm trước cách đây
mục cha
commit
39c8bf7f09
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/components/baseEditer.vue

+ 2 - 1
src/components/baseEditer.vue

@@ -222,6 +222,7 @@ export default {
       });
       bus.$on("extractItem", () => {
         const map = {};
+        console.log(this.hasTypeList)
         this.fParser.spaceList.forEach(t => {
           if (this.hasTypeList.indexOf(t.data.Type) > -1) {
             if (map[t.data.Type]) {
@@ -350,7 +351,7 @@ export default {
         categoryId: this.urlMsg.categoryId
       };
       queryTypeGraph(data).then(res => {
-        this.hasTypeList = res.data.map(t => Number(t));
+        this.hasTypeList = res.Data.map(t => Number(t));
       })
     }
   },