(component): 完善复杂表头表格

This commit is contained in:
就眠儀式
2022-08-09 01:09:53 +08:00
parent db1c78f458
commit 212ce9a599
2 changed files with 46 additions and 13 deletions

View File

@@ -1169,7 +1169,7 @@ export default {
::: demo 通过 `span-method` 属性, 自定义行列合并的逻辑。
<template>
<lay-table :columns="columns29" :data-source="dataSource29"></lay-table>
<lay-table :columns="columns29" :data-source="dataSource29" :default-toolbar="true"></lay-table>
</template>
<script>
@@ -1186,9 +1186,9 @@ export default {
},{
title:"地址",
children: [
{ title: "省", key: "province", width: "300px", },
{ title: "市", key: "city", width: "300px", },
{ title: "区", key: "area", width: "300px", },
{ title: "省", key: "province", width: "300px" },
{ title: "市", key: "city", width: "300px" },
{ title: "区", key: "area", width: "300px" },
]
},{
title:"性别",