🐛(component): 修复 table 组件 skin 属性为 row 时, header 多出 1px 高度

This commit is contained in:
就眠儀式 2022-08-07 23:52:15 +08:00
parent 5d85e82682
commit d35df32863
2 changed files with 4 additions and 4 deletions

View File

@ -119,7 +119,7 @@
} }
.layui-table-view .layui-table[lay-skin="row"] { .layui-table-view .layui-table[lay-skin="row"] {
border-width: 0 0 1px; border: none;
} }
.layui-table-view .layui-table td, .layui-table-view .layui-table td,

View File

@ -515,9 +515,9 @@ export default {
<template> <template>
<lay-form> <lay-form>
<lay-radio v-model="skin1" name="action" value="line">sm</lay-radio> <lay-radio v-model="skin1" name="action" value="line">line</lay-radio>
<lay-radio v-model="skin1" name="action" value="nob">md</lay-radio> <lay-radio v-model="skin1" name="action" value="nob">nob</lay-radio>
<lay-radio v-model="skin1" name="action" value="row">lg</lay-radio> <lay-radio v-model="skin1" name="action" value="row">row</lay-radio>
</lay-form> </lay-form>
<lay-table :columns="columns1" :data-source="dataSource1" :skin="skin1"></lay-table> <lay-table :columns="columns1" :data-source="dataSource1" :skin="skin1"></lay-table>
</template> </template>