Commit d97869064771d21352d8b5ce5b56a5bbd255a867
1 parent
3c38e4f7
support Table
support Table
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/components/table/table-body.vue
@@ -6,6 +6,7 @@ | @@ -6,6 +6,7 @@ | ||
6 | <tbody :class="[prefixCls + '-tbody']"> | 6 | <tbody :class="[prefixCls + '-tbody']"> |
7 | <tr | 7 | <tr |
8 | v-for="(row, index) in data" | 8 | v-for="(row, index) in data" |
9 | + :key="row" | ||
9 | :class="rowClasses(row._index)" | 10 | :class="rowClasses(row._index)" |
10 | @mouseenter.stop="handleMouseIn(row._index)" | 11 | @mouseenter.stop="handleMouseIn(row._index)" |
11 | @mouseleave.stop="handleMouseOut(row._index)" | 12 | @mouseleave.stop="handleMouseOut(row._index)" |