YaolongHan 3 years ago
parent
commit
4c93e6da51
1 changed files with 1 additions and 1 deletions
  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") {