This commit is contained in:
刘荣 2017-06-08 08:53:00 +08:00
parent b8adf5cf2d
commit 718e773fbc
5 changed files with 33 additions and 39 deletions

View 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});
}
};