el-table-column prop=id label=ID style=height 200px; template #default= row span style=font-size 30px; rowid span template el-table-column高度不变
要使
下面是示例代码:
<el-table-column prop="id" label="ID" style="height: 200px;">
<template #default="{ row }">
<span style="font-size: 30px;">{{ row.id }}</span>
</template>
</el-table-column>
请注意,设置列的高度可能会影响表格的整体布局和显示效果,因此需要根据实际需求和样式进行调整。
原文地址: https://www.cveoy.top/t/topic/i5YU 著作权归作者所有。请勿转载和采集!