diff --git a/src/components/RelationCard/index.vue b/src/components/RelationCard/index.vue index b515a57a8..3a133ba33 100644 --- a/src/components/RelationCard/index.vue +++ b/src/components/RelationCard/index.vue @@ -169,7 +169,7 @@ export default { } }, mounted() { - if (this.hasObjectsId.length !== 0) { + if (this.hasObjectsId && this.hasObjectsId.length !== 0) { setTimeout(() => { this.getHasObjectsByIds() }, 50)