Skip to content

Commit bff0ccf

Browse files
hastomhastom
andauthored
Added index to "md-table-row" slot-scope (#2064)
Co-authored-by: hastom <[email protected]>
1 parent 2dcba7b commit bff0ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdTable/MdTable.vue

Lines changed: 1 addition & 1 deletion
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,index" />
34+
<slot name="md-table-row" :item="item" :index="index" />
3535
</md-table-row-ghost>
3636
</tbody>
3737

0 commit comments

Comments
 (0)