chengsc
2025-04-19 50f7c67236579af0b18aa03475dd5d67d68215c0
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);
    }
};