UNPKG
ship-view-ui-plus
Version:
latest (1.3.1)
1.3.1
A high quality UI components Library with Vue.js 3
www.iviewui.com
view-design/ViewUIPlus
ship-view-ui-plus
/
src
/
components
/
table
/
header.js
18 lines
(16 loc)
•
329 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import
{ h }
from
'vue'
;
export
default
{
name
:
'TableRenderHeader'
,
props
: {
render
:
Function
,
column
:
Object
,
index
:
Number
},
render
() {
const
params = {
column
:
this
.
column
,
index
:
this
.
index
};
return
this
.
render
(h, params); } };