Not able to recursive pass scopedSlots in recursive component. #6445
Answered
by
edison1105
leyiang
asked this question in
Help/Questions
-
Problem: The template only gets compiled once. Recursively pass slot is not possible because the // The compiled template code from vue
(function anonymous(
) {
const _Vue = Vue
return function render(_ctx, _cache) {
with (_ctx) {
const { toDisplayString: _toDisplayString, createElementVNode: _createElementVNode, resolveComponent: _resolveComponent, withCtx: _withCtx, openBlock: _openBlock, createBlock: _createBlock } = _Vue
const _component_a_tree = _resolveComponent("a-tree")
return (_openBlock(), _createBlock(_component_a_tree, { info: info }, {
summary: _withCtx(() => [
_createElementVNode("div", null, _toDisplayString(info.name), 1 /* TEXT */)
]),
_: 1 /* STABLE */
}, 8 /* PROPS */, ["info"]))
}
}
}) Questioin 1: Is there any workaround for this? |
Beta Was this translation helpful? Give feedback.
Answered by
edison1105
Aug 11, 2022
Replies: 1 comment 4 replies
-
is this what you want? |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
leyiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is this what you want?