From 5717fb9dd151439663605ba63ab424deb7c89ecb Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 25 Jun 2025 14:29:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=B6=E6=AE=B5=E5=A4=87=E6=B3=A8=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/IVUS/QuestionList.vue | 4 ++-- .../reading/dicoms/components/OCT/QuestionList.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue index b031ddc1..61d1640c 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue @@ -443,8 +443,8 @@ export default { if (item.Type === 'number') { this.limitBlur(item.Id, item.ValueType) } - if (question.Childrens.length > 0) { - this.resetChild(question.Childrens) + if (item.Childrens && item.Childrens.length > 0) { + this.resetChild(item.Childrens) } }, resetChild(obj) { diff --git a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue index c8b8da41..c650cd6e 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue @@ -436,10 +436,10 @@ export default { }, formItemChange(val, question) { this.formChanged = true - if (item.Type === 'number') { - this.limitBlur(item.Id, item.ValueType) + if (question.Type === 'number') { + this.limitBlur(question.Id, question.ValueType) } - if (question.Childrens.length > 0) { + if (question.Childrens && question.Childrens.length > 0) { this.resetChild(question.Childrens) } },