YaolongHan 3 年之前
父节点
当前提交
4c93e6da51
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/maintain/relationship/relation/components/table.vue

+ 1 - 1
src/views/maintain/relationship/relation/components/table.vue

@@ -63,7 +63,7 @@ export default class extends Vue {
       relType: this.$route.query.relationType,
       graphicType: this.$route.query.graphicType,
       fromId: val.id, //主对象id
-      toId: val.objectInfo.id, //从对象id
+      toId: val.objectInfo[0].id, //从对象id
     };
     relDel(data).then((res) => {
       if (res.result == "success") {