wxw
2 天以前 c37ac3c9349c10afb3938326ea8e17b338e68a92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export default {
    name: 'TableRenderHeader',
    functional: true,
    props: {
        render: Function,
        column: Object,
        index: Number
    },
    render: (h, ctx) => {
        const params = {
            column: ctx.props.column,
            index: ctx.props.index
        };
        return ctx.props.render(h, params);
    }
};