Logo white

other / mew-iview

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • mew-iview
  • src
  • components
  • table
  • expand.js
  • -
    718e773f
    刘荣 authored
    2017-06-08 08:53:00 +0800  
    Browse Code »
expand.js 271 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 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});
    }
};