-
This commit is contained in:
parent
b8adf5cf2d
commit
718e773fbc
5 changed files with 33 additions and 39 deletions
13
src/components/table/expand.js
Normal file
13
src/components/table/expand.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
export default {
|
||||
name: 'TableExpand',
|
||||
functional: true,
|
||||
props: {
|
||||
row: Object,
|
||||
render: Function,
|
||||
index: Number,
|
||||
},
|
||||
render: (h, ctx) => {
|
||||
return ctx.props.render(h, {row: ctx.props.row, index: ctx.props.index});
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue