From 5b07f649010c3db7b3eb95d64d2d40560637b496 Mon Sep 17 00:00:00 2001
From: user1 <10901603+no-distractions1@user.noreply.gitee.com>
Date: 星期五, 21 六月 2024 18:43:29 +0800
Subject: [PATCH] 艺术戏剧(选择题完成版)

---
 src/components/examinations/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index f2bdffd..68fef34 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -92,7 +92,7 @@
                 v-cloak
               ></p>
             </div>
-            <img :src="value.isCollect ? isHeart : heart" alt="" class="collect-png" @click="handleCollect(nindex,index)" >
+            <img :src="value.isCollect ? isHeart : heart" alt="" class="collect-png" @click="handleCollect(nindex,index)" v-if="!(hideCollect && value.questionType == 'shortAnswer')" >
             <!-- 鏀惰棌 -->
           </div>
           <div class="questionContent">
@@ -500,6 +500,10 @@
       type: String,
       default: "#fff",
     },
+    hideCollect:{
+      type:Boolean,
+      default:false
+    }
   },
   data() {
     return {

--
Gitblit v1.9.1