11wqe1 8 bulan lalu
induk
melakukan
a89c8699b7
1 mengubah file dengan 7 tambahan dan 9 penghapusan
  1. 7 9
      src/components/pages/components/worksDetail2.vue

+ 7 - 9
src/components/pages/components/worksDetail2.vue

@@ -651,7 +651,7 @@
                                     : 'isAddBox'
                                 "
                                 v-for="(item1, index1) in lcc.chooseInfo.testJson"
-                                :key="index1"
+                                :key="index1 + 'a'"
                               >
                                 <div class="a_add_head">
                                   <div style="display: flex">
@@ -692,7 +692,7 @@
                                           v-for="(
                                             item2, checkIndex
                                           ) in item1.checkList"
-                                          :key="checkIndex"
+                                          :key="checkIndex + 'b'"
                                           :label="checkIndex"
                                           disabled
                                           :class="[item1.answer ==  checkIndex ? 'redioStyle':'redioStyle2']"
@@ -727,13 +727,11 @@
                                       "
                                     >
                                       <div class="radioBox">
-                                        {{ item1.answer }}
-                                        {{ item1.answer.includes(checkIndex) }}
                                         <el-checkbox
                                           v-for="(
                                             item2, checkIndex
                                           ) in item1.checkList"
-                                          :key="checkIndex"
+                                          :key="checkIndex + 'c'"
                                           :label="checkIndex"
                                           disabled
                                           :class="[item1.answer.includes(checkIndex) ? 'redioStyle3':'redioStyle4']"
@@ -1002,7 +1000,7 @@
                           class="left_top"
                           v-if="worksDetail[sIndex].lccjInfo.length > 0"
                         >
-                          <div class="sentenBox" v-for="(lcc, lccindex) in worksDetail[sIndex].lccjInfo" :key="lccindex +'b'">
+                          <div class="sentenBox" v-for="(lcc, lccindex) in worksDetail[sIndex].lccjInfo" :key="lccindex +'d'">
                             <div
                               v-if="lcc.score"
                               style="float: right; margin-right: 10px"
@@ -1023,7 +1021,7 @@
                             </div>
                             <div
                               v-for="(st, stIndex) in lcc.lccjInfo"
-                              :key="stIndex+'c'"
+                              :key="stIndex+'e'"
                               style="padding-bottom: 20px"
                             >
                               <div
@@ -1042,7 +1040,7 @@
                                   <div class="cardBox">
                                     <div
                                       v-for="(s, sIndex) in st.chooseSenList"
-                                      :key="sIndex+'d'"
+                                      :key="sIndex+'f'"
                                     >
                                       <el-tooltip
                                         class="item"
@@ -1114,7 +1112,7 @@
                                   <div class="cardBox">
                                     <div
                                       v-for="(r, rIndex) in st.rightAnswer"
-                                      :key="rIndex"
+                                      :key="rIndex + 'g'"
                                     >
                                       <el-tooltip
                                         class="item"