Explorar o código

fix directive not update

Michael Wang %!s(int64=3) %!d(string=hai) anos
pai
achega
bd36f53c85
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/features/allAnalysis/ScoreRate.vue

+ 4 - 1
src/features/allAnalysis/ScoreRate.vue

@@ -31,7 +31,10 @@
                 <th>累计频数</th>
                 <th>累计频数(%)</th>
               </tr>
-              <tr v-for="(seg, index2) in course.segements" :key="index2">
+              <tr
+                v-for="(seg, index2) in course.segements"
+                :key="index2 + scoreGap * 100000"
+              >
                 <td>{{ seg[0] }}-</td>
                 <td>{{ seg[1] }}</td>
                 <td v-number-to-percent>{{ seg[2] }}%</td>