Karsa 2 năm trước cách đây
mục cha
commit
d30aef62da
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/sheet.vue

+ 1 - 1
src/components/sheet.vue

@@ -34,7 +34,7 @@ const props = defineProps({
         <td 
           :class="['data-cell',{'one-bg':index%2, 'tow-bg': index%2!==0}]"
           v-for="(cell,cell_index) in item"
-          :key="`${index}_${cell_index}`"
+          :key="cell_index"
           :colspan="cell.mc.cs||1"
           :rowspan="cell.mc.rs||1"
         >