Blame view

src/components/table/expand.js 271 Bytes
718e773f   刘荣   -
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});
      }
  };