Answer the question
In order to leave comments, you need to log in
How to insert your VUE component inside Element io TREE?
I am using Element IO Tree component in vue.js.
<el-tree
:data="TreeData"
node-key="_id"
:default-expand-all="true"
:expand-on-click-node="false"
id="engine_tree">
<span class="custom-tree-node" slot-scope="{ node, data}">
<span>
{{ node.label.name }}
</span>
<span>
<oConfirm></oConfirm> // Мой компонент, который не подгружается
</span>
</span>
</el-tree>
export default {
name: ‘tree’,
components: {
oConfirm: () => import(’@/components/static/o-confirm’)
}, ....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question