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
/
tree
/
render.js
19 lines
(17 loc)
•
347 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import
{ h } from
'vue'
; export default { name:
'RenderCell'
, props: { render: Function,
data
: Object, node: Array }, render () {
const
params = { root:
this
.node[
0
], node:
this
.node[
1
],
data
:
this
.
data
};
return
this
.render(h, params); } };