From 6565078d7af60fe9496a43a7d3d9bf00f92f0531 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 11 七月 2024 17:38:37 +0800 Subject: [PATCH] 图书bug修改 --- src/components/examinations/index.vue | 29 +++++++++++++++++++++++------ 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue index eddf0e0..30baf98 100644 --- a/src/components/examinations/index.vue +++ b/src/components/examinations/index.vue @@ -371,14 +371,14 @@ </template> <div class="referBox"> <span>鍙傝�冪瓟妗堬細</span> - <p - v-html="arrayToString(value.answer)" + <span + v-html="value.answer" class="ti-2" :class="[ 'subjectiveBox', value.isUnfold ? 'showText' : 'hideText', ]" - ></p> + ></span> </div> <!-- 瑙f瀽 --> <div class="referBox" v-if="value.analysisCon"> @@ -464,14 +464,24 @@ >淇濆瓨</el-button > <el-button - @click="handleQuestion" + @click=" + (e) => { + handleQuestion(); + saveAnswer(e); + } + " class="examinations-btn-box" :style="{ borderColor: primaryColor }" >鎻愪氦</el-button > <el-button @click="redo" class="examinations-btn-box">閲嶅仛</el-button> <el-button - @click="openAnswers" + @click=" + (e) => { + openAnswers(); + saveAnswer(e); + } + " class="examinations-btn-box" :style="{ borderColor: primaryColor }" >鏌ョ湅绛旀</el-button @@ -550,6 +560,7 @@ watch: { cardList: { handler(newVal) { + // console.log('鏂板��',newVal); this.cardData = this.cardList; if (newVal && newVal.length) { this.loading = false; @@ -676,7 +687,7 @@ ).errorList; for (let index = 0; index < errorId.length; index++) { const item = errorId[index]; - if (oldErrodId.indexOf(item == -1)) { + if (oldErrodId.indexOf(item) == -1) { oldErrodId.push(item); } } @@ -847,6 +858,7 @@ ).errorList; } } catch (error) {} + console.log('閿欓鍒楄〃',this.allError) }) .catch(() => {}); }, @@ -1367,4 +1379,9 @@ width: 18px; object-fit: contain; } +/deep/ .examination-math { + display: flex; + align-items: center; + flex-wrap: wrap; +} </style> -- Gitblit v1.9.1