mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
fix recursive tree rendering
This commit is contained in:
parent
5b54fdcc7e
commit
b0cc1abd28
|
@ -1,6 +1,10 @@
|
|||
<template>
|
||||
<div class="n8n-tree">
|
||||
<n8n-tree-node :input="input" :path="path"></n8n-tree-node>
|
||||
<n8n-tree-node :input="input" :path="path">
|
||||
<template v-for="(index, name) in $scopedSlots" v-slot:[name]="data">
|
||||
<slot :name="name" v-bind="data"></slot>
|
||||
</template>
|
||||
</n8n-tree-node>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -15,7 +19,6 @@ export default Vue.extend({
|
|||
},
|
||||
props: {
|
||||
input: {
|
||||
type: Object,
|
||||
},
|
||||
path: {
|
||||
type: String,
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<template>
|
||||
<span>{{ label }}</span>
|
||||
<span>yo {{ label }}</span>
|
||||
</template>
|
||||
</Draggable>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue