🐛(component): 修复 table 组件 max-height 下 sm 尺寸 th 不生效 close #I5F8DA

This commit is contained in:
就眠儀式
2022-07-03 21:34:40 +08:00
parent e05d11ab6d
commit 1a80f062d0
2 changed files with 7 additions and 3 deletions

View File

@@ -423,7 +423,7 @@ export default {
::: demo 设置 `height` 或者 `max-height` 即可实现
<template>
<lay-table :columns="columns8" :dataSource="dataSource8" max-height="300px"></lay-table>
<lay-table :columns="columns8" :dataSource="dataSource8" size="sm" max-height="300px"></lay-table>
</template>
<script>