From 294caa0546caeef5ed3453b789c2aa341fe5835c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Wed, 20 Aug 2025 16:56:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=AF=95=E9=A2=98?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/examination/radio-subject.vue | 9 ++++++++- src/pages/course/components/talkingItem.vue | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/examination/radio-subject.vue b/src/components/examination/radio-subject.vue index a1c85507..dec9945c 100644 --- a/src/components/examination/radio-subject.vue +++ b/src/components/examination/radio-subject.vue @@ -27,7 +27,7 @@ :analysisVo="analysisVo" :my_answer="props.item.my_answer" :backend_answer="props.item.backend_answer"> - + 确定 @@ -65,6 +65,10 @@ mode: { type: String, required: true, + }, + isPreview:{ + type: Boolean, + default: false } }); @@ -95,6 +99,9 @@ const subject_type_text = computed(() => SUBJECT_TYPE.find(res => subject_data.qnsTyp === res.value)?.label || '') // 点击答题 const click_option = (analysisVo) => { + if(props.isPreview){ + return + } // // 无论什么类型如果表里已经有了,再次点击就是弹出 if (props.item.my_answer.includes(analysisVo.itemId)) { props.item.my_answer = props.item.my_answer.filter(id => id !== analysisVo.itemId); diff --git a/src/pages/course/components/talkingItem.vue b/src/pages/course/components/talkingItem.vue index c8f65178..ba768a90 100644 --- a/src/pages/course/components/talkingItem.vue +++ b/src/pages/course/components/talkingItem.vue @@ -24,7 +24,7 @@ - + @@ -64,7 +64,7 @@ - +