From fd95b0cd4e1d2ee276af70fc04d1fa54a73f74c3 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 9 Jun 2020 15:43:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E4=B8=AD=E7=9A=84=E4=B8=80=E4=B8=AAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/RelationCard/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)