问题描述
我有多个选项卡,每个选项卡都有其自己的信息,因此我为每个选项卡都制作了一个组件,以使代码尽可能地小,但是我制作了一个选项卡组件,仅打开一个模式便没有内容
<!-- Assistance Component-->
<template v-slot:tabs-end>
<b-nav-item href="#" role="presentation" @click="() => {}">Asistencia</b-nav-item>
</template>
<!-- Content Component -->
<template>
<b-tab active>
<template v-slot:title> Descripción del curso </template>
.... Content
</b-tab>
</template>
调用子组件
<tabs>
<Content/> <!-- this work -->
<Assistance/> <!-- this doesn't work -->
</tabs>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)