我有一张动态的桌子。表列和表列是分开的组件。我在表组件中使用列作为槽。
主文件
<DynamicTable :contents="contents">
// columns finding and displaying data from props dynamically. it works without a problem
<Col th="name" td="name"/>
<Col th="information" td="informat
我可以使用以下方式将数组变量中的组件添加到主组件中:
<component :is="currentTabComponent"></component>
现在,我想在呈现的组件中添加另一个动态组件。
如果您说使用时隙,那么我如何访问特定组件的插槽,并将我的变量组件推送到该插槽。
我已经创建了一个示例小提琴,它有大型容器->滑块->滑块内容(这可能有进一步的嵌套)结构。
在取得一些进展后,我得到了跟随错误。
Vue warn]: Failed to mount component: template or render function no