From 170b2a412e91054a6c76ccdcd7cf804f444cebc5 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Wed, 22 Mar 2023 10:07:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=A3=E8=80=85=E6=94=B6=E8=97=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=BE=85=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/360View/collection.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/360View/collection.vue b/src/components/360View/collection.vue index 9abd269..526164c 100644 --- a/src/components/360View/collection.vue +++ b/src/components/360View/collection.vue @@ -144,7 +144,9 @@ export default { if (item.hisManagePatientEntity) { this.$set(item.hisManagePatientEntity, 'name', item.hisManagePatientEntity.remark) item.childs.push(item.hisManagePatientEntity) - this.handlePatientList(item.childs) + } + if (item.childs && item.childs.length) { + this.handlePatientList((item.childs)) } }) return arr