UNPKG

view-ui-plus

Version:

A high quality UI components Library with Vue.js 3

23 lines (21 loc) 449 B
import { h } from 'vue'; export default { name: 'TableExpand', props: { row: Object, render: Function, index: Number, column: { type: Object, default: null } }, render () { const params = { row: this.row, index: this.index }; if (this.column) params.column = this.column; return this.render(h, params); } };