html代码:
<el-main style="height: 100%;">
<el-row style="height: 100%;">
<el-col :span="24" style="height: 100%;">
<div class="grid-content bg-purple-dark" style="height: 100%;">
<div style="height: 100%;">
<el-tabs type="border-card" closable @tab-remove="removeTab" style="height: 100%;" >
<template v-for="(item,index) in herf_list">
<el-tab-pane :label="item.title" :name="index" style="height: 100%;" >
<div style="height: 100%;">
<iframe :src="item.src" style="height: 100%;" height="100%" width="100%"></iframe>
</div>
</el-tab-pane>
</template>
</el-tabs>
</div>
</div>
</el-col>
</el-row>
</el-main>
效果:
问题在哪?如何正确配置?
初步判断是没有设置
el-tabs__content
的样式代码:
https://codepen.io/linvic/pen...