浏览代码

修改提取问题

haojianlong 4 年之前
父节点
当前提交
39c8bf7f09
共有 1 个文件被更改,包括 2 次插入1 次删除
  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));
       })
     }
   },