update Table
This commit is contained in:
parent
af6e81cd64
commit
367a4196a4
3 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<Table :columns="columns7" :data="data6" @on-expand="expand"></Table>
|
||||
<Table border :columns="columns7" :data="data6" @on-expand="expand"></Table>
|
||||
</template>
|
||||
<script>
|
||||
import etable from '../components/table.vue';
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr v-if="rowExpanded(row._index)">
|
||||
<td :colspan="columns.length">
|
||||
<td :colspan="columns.length" :class="prefixCls + '-expanded-cell'">
|
||||
<Expand :row="row" :render="expandRender" :index="row._index"></Expand>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -174,6 +174,11 @@
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
td&-expanded-cell{
|
||||
padding: 20px 50px;
|
||||
background: @table-thead-bg;
|
||||
}
|
||||
|
||||
&-stripe &-body,
|
||||
&-stripe &-fixed-body
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue