🐛(component): 修复 table 组件 skin 属性为 row 时, header 多出 1px 高度
This commit is contained in:
parent
5d85e82682
commit
d35df32863
@ -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,
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user