Skip to content

Commit f1b65ea

Browse files
diadalmarcosmoura
authored andcommitted
fix(MdTable): add support for index in table row (#2026)
Access to index
1 parent 26b84a7 commit f1b65ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdTable/MdTable.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
:md-id="getRowId(item, mdModelId)"
3232
:md-index="index"
3333
:md-item="item">
34-
<slot name="md-table-row" :item="item" />
34+
<slot name="md-table-row" :item="item,index" />
3535
</md-table-row-ghost>
3636
</tbody>
3737

0 commit comments

Comments
 (0)