From cdcc98efeb39f46da5c0bb3a1a04467debabcecf Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 1 Jul 2026 09:09:11 +0800 Subject: [PATCH] 1 --- .../reading/dicoms3D/components/customize/QuestionFormItem.vue | 2 +- .../reading/dicoms3D/components/customize/QuestionList.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue index 2c6b451c..7a9f15d5 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionFormItem.vue @@ -797,7 +797,7 @@ export default { async handleSave() { let loading = null try { - let valid = await this.$refs.tableQsForm.validate() + let valid = await this.$refs.tableQsForm.validate().catch(() => false) if (!valid) return // 判断是否有标记未保存 let isExistUnSaved = false diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue index 340e3c32..08448b05 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue @@ -277,7 +277,7 @@ export default { } }, async validateBeforeSave() { - const valid = await this.$refs['questions'].validate() + const valid = await this.$refs['questions'].validate().catch(() => false) if (!valid) return false const hasUnsavedAnnotation = this.verifyAnnotationIsSave() if (!hasUnsavedAnnotation) return true